1import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{bn as t,vn as n}from"./radix-DRPUPQDj.js";import{t as r}from"./button-BSWgsFto.js";import{a as i,i as a,o,r as s,s as c,t as l}from"./dialog-CPMHgy48.js";import{c as u,i as d,n as f,s as p,t as m}from"./select-InuBjr9B.js";var h=e(t(),1),g=[{id:`brand_identity`,label:`Brand & Identity`,description:`Brand guidelines, voice, tone, logos, visual identity`},{id:`company_description`,label:`Company & About`,description:`Company overview, mission, history, team`},{id:`products_tech`,label:`Products & Services`,description:`Product info, specs, services, pricing`},{id:`customers_audience`,label:`Customers & Audience`,description:`Personas, audience research, customer insights`},{id:`marketing_content`,label:`Marketing & Content`,description:`Campaigns, past content, marketing collateral`},{id:`strategy_planning`,label:`Strategy & Planning`,description:`Plans, roadmaps, goals, OKRs`},{id:`policies_guidelines`,label:`Policies & Guidelines`,description:`Communication policies, internal guidelines, SOPs`},{id:`legal_compliance`,label:`Legal & Compliance`,description:`Contracts, legal documents, compliance material`},{id:`other`,label:`Other`,description:`Anything that does not fit the categories above`}],_={communication_policies:`policies_guidelines`,internal_guidelines:`policies_guidelines`,standard_o
1perating_procedures:`policies_guidelines`,financial_data:`other`,knowledge_learning:`other`},v=new Map(g.map(e=>[e.id,e.label]));function y(e){return e?_[e]??e:null}function b(e){if(!e)return null;let t=y(e);return t&&v.get(t)||e}var x=n();function S({open:e,onConfirm:t,onCancel:n,fileCount:_}){let[v,y]=(0,h.useState)(``),b=()=>{v&&(t(v),y(``))},S=()=>{y(``),n()};return(0,x.jsx)(l,{open:e,onOpenChange:e=>{e||S()},children:(0,x.jsxs)(s,{className:`sm:max-w-md`,children:[(0,x.jsxs)(o,{children:[(0,x.jsxs)(c,{children:[`Categorize `,_===1?`File`:`${_} Files`]}),(0,x.jsxs)(a,{children:[`Select a category for the uploaded file`,_>1?`s`:``,`. This helps organize and filter enterprise assets.`]})]}),(0,x.jsx)(`div`,{className:`py-4`,children:(0,x.jsxs)(m,{value:v,onValueChange:y,children:[(0,x.jsx)(p,{className:`w-full`,children:(0,x.jsx)(u,{placeholder:`Select file category...`})}),(0,x.jsx)(f,{children:g.map(e=>(0,x.jsx)(d,{value:e.id,children:e.label},e.id))})]})}),(0,x.jsxs)(i,{children:[(0,x.jsx)(r,{variant:`outline`,onClick:S,children:`Cancel`}),(0,x.jsx)(r,{onClick:b,disabled:!v,children:`Upload`})]})]})})}export{y as i,g as n,b as r,S as t};
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.