PageSourceSearch

https://confhub.lovable.app/assets/SubmitAbstract-CAQ17Dka.js

js confhub.lovable.app collected 2026-10-03 03:27:10 UTC 19,552 bytes, 4 lines download raw bytes

1import{u as Ke,j as e}from"./query-DaV6vLBd.js";import{j as Ye,r as c}from"./react-vendor-Dn2D-9Bs.js";import{a as j,e as f,b as B,c as T,d as G,L as m,I as S,B as x,S as Qe,i as Xe,j as Ze,k as es,l as ss,x as V,X as ts,J as pe,u,s as M}from"./index-C5LnojUO.js";import{B as E}from"./badge-JE3E3hYK.js";import{C as as}from"./checkbox-CDiv3Qxb.js";import{D as je,a as fe,b as ge,c as be}from"./dialog-u_87U9oM.js";import{R as Ne}from"./RichTextRenderer-DlCqYa7T.js";import{c as rs,d as ns,g as is,A as P}from"./abstracts-C3q5ENa5.js";import{g as cs,t as a}from"./translations-BMhVEtjN.js";import{b as ls,A as os,a as ds}from"./AffiliationTagsInput-CEbR0zBK.js";import{C as ms}from"./circle-check-BPpYzMUD.js";import{T as xs}from"./trash-2-DA-7O-Uz.js";import{P as us}from"./plus-Bvpnpyvm.js";import{U as hs}from"./upload-JPCcoLW2.js";import{f as se}from"./format-DDlkRu2C.js";import"./pdf-bz0EImIo.js";import"./ui-radix-D64xKPMT.js";import"./supabase-D_2IiIQD.js";import"./charts-CO9wFpST.js";import"./tiptap-UbEmYf7M.js";import"./richTextExtensions-CzR2FDlf.js";import"./en-US-CuBlLU8A.js";function ve(){return{_key:crypto.randomUUID(),name:"",email:null,affiliations:[],is_presenting:!1}}function Us(){var he;const{conferenceId:v}=Ye(),[y,g]=c.useState("contact"),[te,ae]=c.useState(!1),[ye,_e]=c.useState(!1),[A,we]=c.useState(""),[_,Ce]=c.useState(""),[F,ke]=c.useState(""),[h,W]=c.useState([ve()]),[p,Se]=c.useState(""),[U,Pe]=c.useState(""),[w,Ae]=c.useState(""),[N,De]=c.useState({}),[D,$e]=c.useState(""),[I,Be]=c.useState(""),[C,re]=c.useState([]),[ne,ie]=c.useState(!1),{data:l,isLoading:Te}=Ke({queryKey:["conference-public",v],queryFn:async()=>{const{data:t,error:n}=await M.from("conferences").select("id, name, description, status, abstract_config, language, abstract_open_date, abstract_close_date").eq("id",v).eq("status","published").single();if(n)throw n;return t},enabled:!!v}),s=cs(l==null?void 0:l.language),r=c.useMemo(()=>l?l.abstract_config||{}:{},[l]),R=r.require_coi||r.require_prior_presentation||r.allow_attachments,ce=c.useMemo(()=>{const t=["contact","authors","abstract"];return R&&t.push("extras"),t.push("review"),t},[R]),Me=ce.indexOf(y),J=c.useMemo(()=>rs(r,{title:p,body:w,structuredBody:N}),[p,w,N,r]),O=r.max_chars||(r.max_words?r.max_words*7:1500),K=J>O,Ee=c.useMemo(()=>r.use_structured_abstract?(r.structure_sections||[]).map(t=>`## ${t}
2${N[t]||""}`).join(`
3
4`):w,[w,N,r]),q=c.useMemo(()=>ls(h),[h]),le=/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(_),oe=A.trim().length>0&&le,de=h.length>0&&h.every(t=>t.name.trim().length>0&&t.affiliations.length>0),L=(t,n)=>{W(i=>i.map(o=>o._key!==t?n.is_presenting===!0?{...o,is_presenting:!1}:o:{...o,...n}))},Fe=()=>W(t=>[...t,ve()]),Ue=t=>W(n=>n.filter(i=>i._key!==t)),Ie=async t=>{const n=t.target.files;if(!n||n.length===0)return;const i=Array.from(n),{maxFiles:o,maxSizeBytes:k,allowedExtensions:ee}=P;if(C.length+i.length>o){u.error(s==="sv"?`Max ${o} filer.`:`Max ${o} files.`),t.target.value="";return}for(const d of i){const b=(d.name.split(".").pop()||"").toLowerCase();if(!ee.includes(b)){u.error(s==="sv"?`Filtypen .${b} stöds inte.`:`File type .${b} is not supported.`),t.target.value="";return}if(d.size>k){u.error(s==="sv"?`${d.name} är större än ${Math.round(k/1024/1024)} MB.`:`${d.name} exceeds ${Math.round(k/1024/1024)} MB.`),t.target.value="";return}}ie(!0);try{for(const d of i){const b=d.name.split(".").pop(),z=`${v}/${crypto.randomUUID()}.${b}`,{error:H}=await M.storage.from("abstract_attachments").upload(z,d);if(H)throw H;const{data:We}=M.storage.from("abstract_attachments").getPublicUrl(z);re(Je=>[...Je,{url:We.publicUrl,name:d.name,type:d.type||Oe(b||""),size:d.size}])}u.success(a("filesUploaded",s))}catch(d){u.error(d.message||a("uploadFailed",s))}finally{ie(!1),t.target.value=""}},Re=t=>{re(n=>n.filter(i=>i.url!==t))};function Oe(t){return{pdf:"application/pdf",doc:"application/msword",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",webp:"image/webp",gif:"image/gif"}[(t||"").toLowerCase()]||"application/octet-stream"}const[Y,qe]=c.useState(null),[Le,me]=c.useState(!1),[ze,xe]=c.useState(!1),Q=!!r.guidelines&&Object.keys(r.guidelines).length>0,X=!!r.poster_instructions&&Object.keys(r.poster_instructions).length>0,He=async()=>
4{if(!p.trim()){u.error(a("titleRequired",s));return}if(K){u.error(`${a("charLimitExceeded",s)} (${O})`);return}if(!oe){u.error(a("submitterNameRequired",s));return}if(!de){u.error(a("affiliationRequired",s));return}ae(!0);try{const t=h.map(({name:d,email:b,affiliations:z,is_presenting:H})=>({name:d,email:b||null,affiliations:z,is_presenting:H})),{data:n,error:i}=await M.rpc("submit_abstract_public",{p_conference_id:v,p_title:p.trim(),p_body:Ee||null,p_topic:U||null,p_coi_disclosure:D||null,p_prior_presentation:I||null,p_attachment_files:C.length>0?C:[],p_submitter_name:A.trim(),p_submitter_email:_.trim(),p_submitter_phone:F.trim()||null,p_authors:t});if(i)throw i;const o=n,k=`${window.location.origin}/edit-abstract/${o.edit_token}`;qe(k);const ee=l!=null&&l.abstract_close_date?new Date(l.abstract_close_date).toLocaleDateString(s==="sv"?"sv-SE":"en-US",{year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit"}):void 0;M.functions.invoke("send-transactional-email",{body:{templateName:"abstract-confirmation",recipientEmail:_.trim(),conferenceId:v,idempotencyKey:`abstract-confirm-${o.id}`,capability:{abstract_id:o.id,edit_token:o.edit_token},templateData:{submitterName:A.trim(),abstractTitle:p.trim(),conferenceName:(l==null?void 0:l.name)||"",editUrl:k,closeDate:ee}}}).catch(()=>{}),_e(!0)}catch(t){u.error(t.message||a("submissionFailed",s))}finally{ae(!1)}};if(Te)return e.jsx("div",{className:"min-h-screen flex items-center justify-center bg-background",children:e.jsx("p",{className:"text-muted-foreground",children:a("loading",s)})});if(!l)return e.jsx("div",{className:"min-h-screen flex items-center justify-center bg-background",children:e.jsx(j,{className:"max-w-md w-full mx-4",children:e.jsxs(f,{className:"pt-6 text-center",children:[e.jsx("h2",{className:"font-display text-xl font-bold text-destructive mb-2",children:a("conferenceNotFound",s)}),e.jsx("p",{className:"text-muted-foreground",children:a("confNotFound",s)})]})})});const ue=new Date,Z=l.abstract_open_date?new Date(l.abstract_open_date):null,$=l.abstract_close_date?new Date(l.abstract_close_date):null,Ge=Z&&ue<Z,Ve=$&&ue>$;return Ge?e.jsx("div",{className:"min-h-screen flex items-center justify-center bg-background",children:e.jsx(j,{className:"max-w-md w-full mx-4",children:e.jsxs(f,{className:"pt-6 text-center space-y-2",children:[e.jsx("h2",{className:"font-display text-xl font-bold",children:l.name}),e.jsx("p",{className:"text-muted-foreground",children:a("abstractNotOpenYet",s)}),e.jsxs("p",{className:"text-sm text-muted-foreground",children:[a("abstractOpensAt",s),": ",se(Z,"PPP HH:mm")]})]})})}):Ve?e.jsx("div",{className:"min-h-screen flex items-center justify-center bg-background",children:e.jsx(j,{className:"max-w-md w-full mx-4",children:e.jsxs(f,{className:"pt-6 text-center space-y-2",children:[e.jsx("h2",{className:"font-display text-xl font-bold",children:l.name}),e.jsx("p",{className:"text-muted-foreground",children:a("abstractClosed",s)}),e.jsxs("p",{className:"text-sm text-muted-foreground",children:[a("abstractClosedAt",s),": ",se($,"PPP HH:mm")]})]})})}):ye?e.jsx("div",{className:"min-h-screen flex items-center justify-center bg-background",children:e.jsx(j,{className:"max-w-md w-full mx-4",children:e.jsxs(f,{className:"pt-6 text-center space-y-4",children:[e.jsx(ms,{className:"h-16 w-16 text-success mx-auto"}),e.jsx("h2",{className:"font-display text-xl font-bold",children:a("abstractSubmitted",s)}),e.jsxs("p",{className:"text-muted-foreground",children:[a("yourAbstract",s),' "',p,'" ',a("hasBeenSubmitted",s)," ",l.name,"."]}),Y&&e.jsxs("div",{className:"bg-muted rounded-lg p-4 text-left space-y-2",children:[e.jsx("p",{className:"text-sm font-medium",children:s==="sv"?"Spara denna länk för att redigera ditt abstract:":"Save this link to edit your abstract:"}),e.jsx("a",{href:Y,className:"text-sm text-primary underline break-all",children:Y}),$&&e.jsxs("p",{className:"text-xs text-muted-foreground",children:[a("editableUntil",s),": ",se($,"PPP HH:mm")]})]})]})})}):e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsxs("div",{className:"max-w-2xl mx-auto px-4 py-8 space-y-6",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"font-display text-2xl font-bold",children:l.name}),e.jsx("p",{className:"text-muted-foreground mt-1",children:a("submitAbstract",s)})]}),e.jsx("div",{className:"flex gap-2",children:ce.map((t,n)=>e.jsx("div",{className:`h-1.5 flex-1 rounded-full transition-colors ${n<=Me?"bg-primary":"bg-muted"}`},t))}),y==="contact"&&e.jsxs(j,{children:[e.jsxs(B,{children:[e.jsx(T,{children:a("contactDetails",s)}),e.jsx(G,{children:a("contactDetailsDesc",s)})]}),e.jsxs(f,{className:"space-y-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(m,{children:[a("submitterName",s)," *"]}),e.jsx(S,{value:A,onChange:t=>we(t.target.value)})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(m,{children:[a("submitterEmail",s
4)," *"]}),e.jsx(S,{type:"email",value:_,onChange:t=>Ce(t.target.value)}),_&&!le&&e.jsx("p",{className:"text-sm text-destructive",children:a("submitterEmailInvalid",s)})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(m,{children:a("submitterPhone",s)}),e.jsx(S,{value:F,onChange:t=>ke(t.target.value)})]}),e.jsx("div",{className:"flex justify-end",children:e.jsx(x,{onClick:()=>g("authors"),disabled:!oe,children:a("next",s)})})]})]}),y==="authors"&&e.jsxs(j,{children:[e.jsxs(B,{children:[e.jsx(T,{children:a("authors",s)}),e.jsx(G,{children:a("authorsDesc",s)})]}),e.jsxs(f,{className:"space-y-4",children:[h.map((t,n)=>e.jsxs("div",{className:"border rounded-lg p-4 space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("span",{className:"text-sm font-medium text-muted-foreground",children:[a("authors",s)," ",n+1]}),h.length>1&&e.jsxs(x,{variant:"ghost",size:"sm",onClick:()=>Ue(t._key),className:"text-destructive h-7 px-2",children:[e.jsx(xs,{className:"h-3.5 w-3.5 mr-1"}),a("removeAuthor",s)]})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsxs(m,{className:"text-xs",children:[a("authorName",s)," *"]}),e.jsx(S,{value:t.name,onChange:i=>L(t._key,{name:i.target.value})})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx(m,{className:"text-xs",children:a("authorEmail",s)}),e.jsx(S,{type:"email",value:t.email||"",onChange:i=>L(t._key,{email:i.target.value})})]})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsxs(m,{className:"text-xs",children:[a("affiliations",s)," *"]}),e.jsx(os,{value:t.affiliations,onChange:i=>L(t._key,{affiliations:i}),suggestions:q,placeholder:a("affiliationHint",s)})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(as,{id:`presenting-${t._key}`,checked:t.is_presenting,onCheckedChange:i=>L(t._key,{is_presenting:!!i})}),e.jsx(m,{htmlFor:`presenting-${t._key}`,className:"text-sm cursor-pointer",children:a("presentingAuthor",s)})]})]},t._key)),e.jsxs(x,{variant:"outline",onClick:Fe,className:"w-full",children:[e.jsx(us,{className:"h-4 w-4 mr-1"}),a("addAuthor",s)]}),e.jsxs("div",{className:"flex justify-end gap-2",children:[e.jsx(x,{variant:"outline",onClick:()=>g("contact"),children:a("back",s)}),e.jsx(x,{onClick:()=>g("abstract"),disabled:!de,children:a("next",s)})]})]})]}),y==="abstract"&&e.jsxs(j,{children:[e.jsxs(B,{children:[e.jsx(T,{children:a("abstractBody",s)}),e.jsxs(G,{children:[a("maxChars",s)," ",O," ",a("chars",s),"."," ",ns(r,s==="sv"?"sv":"en")]})]}),e.jsxs(f,{className:"space-y-4",children:[(((he=r.topics)==null?void 0:he.length)??0)>0&&e.jsxs("div",{className:"space-y-2",children:[e.jsx(m,{children:a("topic",s)}),e.jsxs(Qe,{value:U,onValueChange:Pe,children:[e.jsx(Xe,{children:e.jsx(Ze,{placeholder:a("selectTopic",s)})}),e.jsx(es,{children:r.topics.map(t=>e.jsx(ss,{value:t,children:t},t))})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(m,{children:[a("title",s)," *"]}),e.jsx(S,{placeholder:a("titlePlaceholder",s),value:p,onChange:t=>Se(t.target.value)})]}),r.use_structured_abstract?(r.structure_sections||[]).map(t=>{const n=is(r).includes(t);return e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(m,{children:t}),e.jsx(E,{variant:n?"secondary":"outline",className:"text-[10px]",children:n?s==="sv"?"Räknas med":"Counted":s==="sv"?"Räknas ej":"Not counted"})]}),e.jsx(V,{placeholder:`${a("enterSection",s)} ${t.toLowerCase()} ${a("sectionSuffix",s)}`,rows:4,value:N[t]||"",onChange:i=>De({...N,[t]:i.target.value})})]},t)}):e.jsxs("div",{className:"space-y-2",children:[e.jsx(m,{children:"Abstract *"}),e.jsx(V,{placeholder:a("writeAbstract",s),rows:12,value:w,onChange:t=>Ae(t.target.value)})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("p",{className:`text-sm ${K?"text-destructive font-medium":"text-muted-foreground"}`,children:[J," / ",O," ",a("chars",s)]}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(x,{variant:"outline",onClick:()=>g("authors"),children:a("back",s)}),e.jsx(x,{onClick:()=>g(R?"extras":"review"),disabled:K||!p.trim(),children:a("next",s)})]})]})]})]}),y==="extras"&&e.jsxs(j,{children:[e.jsx(B,{children:e.jsx(T,{children:a("additionalInfo",s)})}),e.jsxs(f,{className:"space-y-4",children:[r.require_coi&&e.jsxs("div",{className:"space-y-2",children:[e.jsx(m,{children:a("coiLabel",s)}),e.jsx(V,{placeholder:a("coiPlaceholder",s),rows:3,value:D,onChange:t=>$e(t.target.value)})]}),r.require_prior_presentation&&e.jsxs("div",{className:"space-y-2",children:[e.jsx(m,{children:a("priorPresentation",s)}),e.jsx(V,{placeholder:a("priorPresentationPlaceholder",s),rows:3,value:I,onChange:t=>Be(t.target.value)})]}),r.allow_attachments&&e.jsxs("div",{className:"space-y-2",children:[e.jsx(m,{children:a("attachments",s)}),e.jsx("p",{className:"text-xs text-muted-foreground",children:s==="sv"?`Max ${P.maxFiles} filer, ${Math.round(P.maxSizeBytes/1024/1024)} MB per fil. Tillåtna format: PDF, Word, PNG, JPG, WEBP.`:`Max ${P.maxFiles} files, ${Math.round(P.maxSizeBytes/1024/1024)} MB each. Allowed: PDF, Word, PNG, JPG, WEBP.`}),e.jsx("div",{className:"flex flex-wrap gap-2 mb-2",children:C.map(t=>e.jsxs(E,{variant:"secondary",className:"gap-1 pr-1 max-w-xs truncate",children:[e.jsx("span",{className:"truncate",children:t.name}),e.jsx("button",{onClick:()=>Re(t.url),className:"ml-1 hover:text-destructive",children:e.jsx(ts,{className:"h-3 w-3"})})]},t.url))}),e.jsx("div",{className:"flex items-center gap-2",children:e.jsx(x,{variant:"outline",size:"sm",asChild:!0,disabled:ne,children:e.jsxs("label",{className:"cursor-pointer",children:[e.jsx(hs,{className:"h-4 w-4 mr-1"}),ne?a("uploading",s):a("uploadFile",s),e.jsx("input",{type:"file",className:"hidden",multiple:!0,accept:P.accept,onChange:Ie})]})})})]}),e.jsxs("div",{className:"flex justify-end gap-2",children:[e.jsx(x,{variant:"outline",onClick:()=>g("abstract"),children:a("back",s)}),e.jsx(x,{onClick:()=>g("review"),disabled:r.require_coi&&!D.trim(),children:a("next",s)})]})]})]}),y==="review"&&e.jsxs(j,{children:[e.jsxs(B,{children:[e.jsx(T,{children:a("reviewSubmit",s)}),e.jsx(G,{children:a("reviewSubmitDesc",s)})]}),e.jsxs(f,{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:a("contactInfo",s)}),e.jsx("p",{className:"font-medium",children:A}),e.jsx("p",{className:"text-sm",children:_}),F&&e.jsx("p",{className:"text-sm",children:F})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:a("authors",s)}),e.jsx("p",{className:"text-sm leading-relaxed",children:h.map((t,n)=>{const i=ds(t.affiliations,q);return e.jsxs("span",{children:[e.jsx("span",{className:"font-medium",children:t.name}),i.length>0&&e.jsx("sup",{className:"ml-0.5",children:i.map(o=>`[${o}]`).join("")}),t.is_presenting&&e.jsx(E,{variant:"outline",className:"ml-1.5 text-xs",children:a("presentingAuthor",s)}),n<h.length-1&&", "]},t._key)})}),q.length>0&&e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground mt-2",children:a("affiliations",s)}),e.jsx("ol",{className:"text-sm space-y-0.5 mt-1",children:q.map((t,n)=>e.jsxs("li",{children:[e.jsxs("span",{className:"text-muted-foreground",children:["[",n+1,"]"]})," ",t]},t))})]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:a("title",s)}),e.jsx("p",{className:"font-medium",children:p})]}),U&&e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:a("topic",s)}),e.jsx(E,{variant:"secondary",children:U})]}),e.jsxs("div",{children:[e.jsxs("p",{className:"text-sm font-medium text-muted-foreground",children:[a("abstractWordCount",s)," (",J," ",a("chars",s),")"]}),r.use_structured_abstract?e.jsx("div",{className:"space-y-2 mt-1",children:(r.structure_sections||[]).map(t=>e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-semibold",children:t}),e.jsx("p",{className:"text-sm whitespace-pre-wrap",children:N[t]||e.jsx("span",{className:"text-muted-foreground italic",children:a("empty",s)})})]},t))}):e.jsx("p",{className:"text-sm whitespace-pre-wrap mt-1",children:w||e.jsx("span",{className:"text-muted-foreground italic",children:a("empty",s)})})]}),D&&e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:a("coiReview",s)}),e.jsx("p",{className:"text-sm",children:D})]}),I&&e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:a("priorPresentationReview",s)}),e.jsx("p",{className:"text-sm",children:I})]}),C.length>0&&e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:a("attachmentsReview",s)}),e.jsx("div",{className:"flex flex-wrap gap-1 mt-1",children:C.map(t=>e.jsx(E,{variant:"outline",className:"text-xs truncate max-w-xs",children:t.name},t.url))})]}),e.jsxs("div",{className:"flex justify-end gap-2 pt-2",children:[e.jsx(x,{variant:"outline",onClick:()=>g(R?"extras":"abstract"),children:a("back",s)}),e.jsx(x,{onClick:He,disabled:te,children:te?a("submitting",s):a("submitAbstractBtn",s)})]})]})]}),(Q||X)&&e.jsxs("footer",{className:"border-t pt-4 text-center flex flex-wrap justify-center gap-2",children:[Q&&e.jsxs(x,{variant:"link",size:"sm",onClick:()=>me(!0),children:[e.jsx(pe,{className:"mr-2 h-4 w-4"}),a("abstractGuidelines",s)]}),X&&e.jsxs(x,{variant:"link",size:"sm",onClick:()=>xe(!0),children:[e.jsx(pe,{className:"mr-2 h-4 w-4"}
4),a("posterInstructions",s)]})]})]}),e.jsx(je,{open:Le,onOpenChange:me,children:e.jsxs(fe,{className:"max-w-2xl max-h-[85vh] overflow-y-auto",children:[e.jsx(ge,{children:e.jsx(be,{children:a("abstractGuidelines",s)})}),Q?e.jsx(Ne,{content:r.guidelines}):e.jsx("p",{className:"text-muted-foreground",children:a("abstractGuidelinesEmpty",s)})]})}),e.jsx(je,{open:ze,onOpenChange:xe,children:e.jsxs(fe,{className:"max-w-2xl max-h-[85vh] overflow-y-auto",children:[e.jsx(ge,{children:e.jsx(be,{children:a("posterInstructions",s)})}),X&&e.jsx(Ne,{content:r.poster_instructions})]})})]})}export{Us 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.