import{i as e}from"./chunk-B3pr0VN8.js";import{n as t,t as n}from"./jsx-runtime-wTfS3W87.js";import{r}from"./chunk-6CSD65Y2-Dj7xjS5D.js";import{t as i}from"./SideComparePanel-CBATeVzg.js";import{t as a}from"./telemetry-DBF4zZka.js";var o=e(t(),1),s=async(e,t)=>{let n=String(e||``).trim();n&&await a(`web_${n}`,t)},c=n();function l(){(0,o.useEffect)(()=>{s(`compare_page_open`,{source:`web_compare`})},[]);let e=(0,o.useMemo)(()=>{try{return!!globalThis?.chrome?.runtime}catch{return!1}},[]);return(0,c.jsxs)(`div`,{className:`chart-force-light min-h-screen bg-gray-50 text-gray-900`,style:{fontFamily:`var(--he-font-sans)`},children:[(0,c.jsx)(`div`,{className:`sticky top-0 z-40 bg-white border-b border-gray-100`,children:(0,c.jsxs)(`div`,{className:`max-w-6xl mx-auto px-4 py-3 flex items-center justify-between gap-3`,children:[(0,c.jsxs)(`div`,{className:`min-w-0`,children:[(0,c.jsx)(`div`,{className:`text-sm font-bold text-gray-900 truncate`,children:`一键生成（大屏）`}),(0,c.jsx)(`div`,{className:`text-xs text-gray-500 truncate`,children:`岗位采集、简历匹配、简历优化、面试辅导`})]}),(0,c.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,c.jsx)(r,{className:`ui-btn-outline`,to:`/web/workspace`,children:`工作台`}),(0,c.jsx)(r,{className:`ui-btn-primary`,to:`/me`,children:`账号`})]})]})}),(0,c.jsx)(`div`,{className:`max-w-6xl mx-auto px-4 py-4`,children:e?(0,c.jsx)(i,{layout:`page`}):(0,c.jsxs)(`div`,{className:`ui-card ui-card-md border border-amber-200 bg-amber-50 text-amber-800`,children:[(0,c.jsx)(`div`,{className:`text-sm font-semibold`,children:`当前环境未检测到扩展运行时`}),(0,c.jsx)(`div`,{className:`mt-1 text-xs text-amber-700`,children:`请从插件入口打开该页面后再进行岗位采集、一键生成和本地岗位库操作。`})]})})]})}export{l as default};