PageSourceSearch

https://trufflez.ai/assets/AIImport-CHPpiBKE.js

js trufflez.ai collected 2026-10-05 14:46:27 UTC 930 bytes, 1 lines download raw bytes

1import{u as f,a as h,E as t,j as s,O as o}from"./index-DaWIZBzh.js";import{A as x,D as p}from"./DocumentsList-BAxhpcWb.js";import"./date-fns-core-EJvuDfiV.js";import"./locales/locale-en-US-B8cOWMhy.js";function R(){const{t:r}=f("selling"),{user:e,isAuthenticated:n}=h(),[i,a]=t.useState(!1),[l,c]=t.useState(0),m=t.useCallback(()=>{c(Date.now())},[]),u=t.useCallback(()=>{a(!0),setTimeout(()=>{a(!1)},100)},[]),d=(e==null?void 0:e.roles.includes("seller"))||(e==null?void 0:e.roles.includes("both"))||(e==null?void 0:e.roles.includes("admin"));return n?d?s.jsxs("div",{className:"space-y-6 animate-fade-in",children:[s.jsx("h1",{className:"text-2xl font-semibold text-gray-900 dark:text-white mb-6",children:r("aiImport.title")}),s.jsx(x,{onDocumentProcessed:m,resetStatusDisplay:i}),s.jsx(p,{onRefreshTriggered:u,fastRefreshSignal:l,isSalesDocument:!0})]}):s.jsx(o,{to:"/dashboard"}):s.jsx(o,{to:"/login"})}export{R 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.