hunter-mate 0.1.26 → 0.1.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/extension/background/{service-worker.20261019161523.js → service-worker.20261020181646.js} +4 -0
- package/dist/assets/extension/background/service-worker.js +4 -0
- package/dist/assets/extension/build-info.json +1 -1
- package/dist/assets/extension/content/index.js +284 -64
- package/dist/assets/extension/manifest.json +3 -3
- package/dist/assets/extension/sidepanel/index.html +1 -1
- package/dist/assets/extension/sidepanel/index.js +14 -14
- package/dist/assets/server/main.mjs +1433 -1205
- package/dist/index.js +33 -64
- package/dist/watchdog.js +49 -4
- package/dist/web/dist/404.html +1 -1
- package/dist/web/dist/_next/static/chunks/{253-9278ce6c4d446329.js → 253-f4ac7af6647e4dba.js} +1 -1
- package/dist/web/dist/_next/static/chunks/{589-cc56950ae4117cdd.js → 589-5bb84ab8060e960b.js} +1 -1
- package/dist/web/dist/_next/static/chunks/{659-122057f46f941df7.js → 659-b23050764c004f5f.js} +1 -1
- package/dist/web/dist/_next/static/chunks/{686-05b99d3674f45bf7.js → 686-5f4ee3649cce07f1.js} +1 -1
- package/dist/web/dist/_next/static/chunks/896-9dce6a3bc525edba.js +1 -0
- package/dist/web/dist/_next/static/chunks/{935-efb30b9f6f558e3f.js → 935-12f1084f0e18c962.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/_not-found/{page-d939b40bb8878d26.js → page-46929212b0496a89.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/admin/data/{page-df1d84c14e85f294.js → page-666f99fbfee46cc9.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/auth/verify/{page-cfeb844e1b72ccaa.js → page-2da5807d6cdfdb4e.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/companies/{page-57b1ef0b12134ce0.js → page-390d5e3073ec151d.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/company/admin/{page-010928306f8df0ed.js → page-02244f3f1a212c76.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/entity/{page-fa96319650d38e78.js → page-d59a8103f8107d3b.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/jobs/{page-5ba0bdc881b98d42.js → page-fa83ce1b6c3b345d.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/layout-15c4c2ba595b2a92.js +1 -0
- package/dist/web/dist/_next/static/chunks/app/logs/{page-bcdbb3885abda5a2.js → page-badf48f4e7e32e17.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/matching/jobs/[id]/talents/{page-8aca89db1e666a49.js → page-73bca3864b8b9e44.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/matching/portraits/[id]/jobs/{page-7086f1b773e57511.js → page-477c66bee61225fa.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/{page-49fe1e8630d2237e.js → page-8ea324b366e3d374.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/parselog/{page-fcdfdd41cf1f86f7.js → page-4f5c186442feb386.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/recordings/page-0fb8cafdd2f6762c.js +1 -0
- package/dist/web/dist/_next/static/chunks/app/resource-usage/{page-7b939cf673d764e6.js → page-76be36ca978391a3.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/shared/[token]/{page-df87328c52f862f1.js → page-fe2b986867d317c0.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/snapshots/[id]/agent-prompt/{page-7d4d25de2c6704e9.js → page-60ea46364a74b294.js} +1 -1
- package/dist/web/dist/_next/static/chunks/app/team/insights/{page-f097b4b8578a6e5d.js → page-5385dcd363f6e0cd.js} +1 -1
- package/dist/web/dist/_next/static/chunks/webpack-9cebd25e322e2cd7.js +1 -0
- package/dist/web/dist/_next/static/css/8f3c454cab3414d0.css +3 -0
- package/dist/web/dist/admin/data.html +1 -1
- package/dist/web/dist/admin/data.txt +5 -5
- package/dist/web/dist/auth/verify.html +1 -1
- package/dist/web/dist/auth/verify.txt +5 -5
- package/dist/web/dist/companies.html +1 -1
- package/dist/web/dist/companies.txt +5 -5
- package/dist/web/dist/company/admin.html +1 -1
- package/dist/web/dist/company/admin.txt +5 -5
- package/dist/web/dist/entity.html +1 -1
- package/dist/web/dist/entity.txt +5 -5
- package/dist/web/dist/index.html +1 -1
- package/dist/web/dist/index.txt +5 -5
- package/dist/web/dist/jobs.html +1 -1
- package/dist/web/dist/jobs.txt +5 -5
- package/dist/web/dist/logs.html +1 -1
- package/dist/web/dist/logs.txt +5 -5
- package/dist/web/dist/matching/jobs/placeholder/talents.html +1 -1
- package/dist/web/dist/matching/jobs/placeholder/talents.txt +5 -5
- package/dist/web/dist/matching/portraits/placeholder/jobs.html +1 -1
- package/dist/web/dist/matching/portraits/placeholder/jobs.txt +5 -5
- package/dist/web/dist/parselog.html +1 -1
- package/dist/web/dist/parselog.txt +5 -5
- package/dist/web/dist/recordings.html +1 -1
- package/dist/web/dist/recordings.txt +5 -5
- package/dist/web/dist/resource-usage.html +1 -1
- package/dist/web/dist/resource-usage.txt +5 -5
- package/dist/web/dist/shared/placeholder.html +1 -1
- package/dist/web/dist/shared/placeholder.txt +5 -5
- package/dist/web/dist/snapshots/placeholder/agent-prompt.html +1 -1
- package/dist/web/dist/snapshots/placeholder/agent-prompt.txt +5 -5
- package/dist/web/dist/talents.html +1 -1
- package/dist/web/dist/talents.txt +5 -5
- package/dist/web/dist/team/insights.html +1 -1
- package/dist/web/dist/team/insights.txt +5 -5
- package/package.json +3 -6
- package/dist/web/dist/_next/static/chunks/166.b263e636ff66212f.js +0 -1
- package/dist/web/dist/_next/static/chunks/app/layout-bd9a7e5e4474b692.js +0 -1
- package/dist/web/dist/_next/static/chunks/app/recordings/page-7ba5d89391c9dace.js +0 -1
- package/dist/web/dist/_next/static/chunks/webpack-54e74ccc9e9451ee.js +0 -1
- package/dist/web/dist/_next/static/css/a8f0a381a2372781.css +0 -3
- package/dist/web/dist/_next/static/css/f60d210841fab76b.css +0 -1
- /package/dist/web/dist/_next/static/{m0UGHVTGvtvb9mn4-uzJJ → tYFZz41gyWi4-BhxuxlGU}/_buildManifest.js +0 -0
- /package/dist/web/dist/_next/static/{m0UGHVTGvtvb9mn4-uzJJ → tYFZz41gyWi4-BhxuxlGU}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="zh-CN"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html lang="zh-CN"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/8f3c454cab3414d0.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-9cebd25e322e2cd7.js"/><script src="/_next/static/chunks/a7067448-3f2b194cfadb91fb.js" async=""></script><script src="/_next/static/chunks/935-12f1084f0e18c962.js" async=""></script><script src="/_next/static/chunks/main-app-f496bd51a73ef9f3.js" async=""></script><script src="/_next/static/chunks/app/shared/%5Btoken%5D/page-fe2b986867d317c0.js" async=""></script><script src="/_next/static/chunks/589-5bb84ab8060e960b.js" async=""></script><script src="/_next/static/chunks/187-f067914dcd1330c2.js" async=""></script><script src="/_next/static/chunks/app/layout-15c4c2ba595b2a92.js" async=""></script><title>HunterMate 采集仪表盘</title><meta name="description" content="HunterMate 采集/解析/入库仪表盘"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="flex h-screen overflow-hidden bg-gray-50 text-gray-900"><div class="flex h-screen w-screen flex-col items-center justify-center bg-gray-50"><span class="hm-spinner" aria-label="加载中"></span><div class="mt-4 text-sm text-gray-400">正在加载,请稍候…</div></div><script src="/_next/static/chunks/webpack-9cebd25e322e2cd7.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/8f3c454cab3414d0.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[76939,[],\"\"]\n4:I[48517,[\"245\",\"static/chunks/app/shared/%5Btoken%5D/page-fe2b986867d317c0.js\"],\"default\"]\n5:I[74268,[],\"\"]\n7:I[81050,[],\"\"]\n8:I[15214,[\"589\",\"static/chunks/589-5bb84ab8060e960b.js\",\"187\",\"static/chunks/187-f067914dcd1330c2.js\",\"185\",\"static/chunks/app/layout-15c4c2ba595b2a92.js\"],\"AuthGate\"]\n9:I[67188,[\"589\",\"static/chunks/589-5bb84ab8060e960b.js\",\"187\",\"static/chunks/187-f067914dcd1330c2.js\",\"185\",\"static/chunks/app/layout-15c4c2ba595b2a92.js\"],\"AntdProvider\"]\na:I[9424,[\"589\",\"static/chunks/589-5bb84ab8060e960b.js\",\"187\",\"static/chunks/187-f067914dcd1330c2.js\",\"185\",\"static/chunks/app/layout-15c4c2ba595b2a92.js\"],\"SystemSidebar\"]\nc:I[62319,[],\"\"]\n6:[\"token\",\"placeholder\",\"d\"]\nd:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L2\",null,{\"buildId\":\"tYFZz41gyWi4-BhxuxlGU\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"shared\",\"placeholder\"],\"initialTree\":[\"\",{\"children\":[\"shared\",{\"children\":[[\"token\",\"placeholder\",\"d\"],{\"children\":[\"__PAGE__?{\\\"token\\\":\\\"placeholder\\\"}\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"shared\",{\"children\":[[\"token\",\"placeholder\",\"d\"],{\"children\":[\"__PAGE__\",{},[[\"$L3\",[\"$\",\"$L4\",null,{}],null],null],null]},[null,[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"shared\",\"children\",\"$6\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[null,[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"shared\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/8f3c454cab3414d0.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"zh-CN\",\"children\":[\"$\",\"body\",null,{\"className\":\"flex h-screen overflow-hidden bg-gray-50 text-gray-900\",\"children\":[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$L9\",null,{\"children\":[[\"$\",\"$La\",null,{}],[\"$\",\"main\",null,{\"className\":\"flex-1 overflow-hidden\",\"children\":[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$Lb\"],\"globalErrorComponent\":\"$c\",\"missingSlots\":\"$Wd\"}]\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"HunterMate 采集仪表盘\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"HunterMate 采集/解析/入库仪表盘\"}]]\n3:null\n"])</script></body></html>
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
2:I[48517,["245","static/chunks/app/shared/%5Btoken%5D/page-
|
|
1
|
+
2:I[48517,["245","static/chunks/app/shared/%5Btoken%5D/page-fe2b986867d317c0.js"],"default"]
|
|
2
2
|
3:I[74268,[],""]
|
|
3
3
|
5:I[81050,[],""]
|
|
4
|
-
6:I[15214,["589","static/chunks/589-
|
|
5
|
-
7:I[67188,["589","static/chunks/589-
|
|
6
|
-
8:I[9424,["589","static/chunks/589-
|
|
4
|
+
6:I[15214,["589","static/chunks/589-5bb84ab8060e960b.js","187","static/chunks/187-f067914dcd1330c2.js","185","static/chunks/app/layout-15c4c2ba595b2a92.js"],"AuthGate"]
|
|
5
|
+
7:I[67188,["589","static/chunks/589-5bb84ab8060e960b.js","187","static/chunks/187-f067914dcd1330c2.js","185","static/chunks/app/layout-15c4c2ba595b2a92.js"],"AntdProvider"]
|
|
6
|
+
8:I[9424,["589","static/chunks/589-5bb84ab8060e960b.js","187","static/chunks/187-f067914dcd1330c2.js","185","static/chunks/app/layout-15c4c2ba595b2a92.js"],"SystemSidebar"]
|
|
7
7
|
4:["token","placeholder","d"]
|
|
8
|
-
0:["
|
|
8
|
+
0:["tYFZz41gyWi4-BhxuxlGU",[[["",{"children":["shared",{"children":[["token","placeholder","d"],{"children":["__PAGE__?{\"token\":\"placeholder\"}",{}]}]}]},"$undefined","$undefined",true],["",{"children":["shared",{"children":[["token","placeholder","d"],{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{}],null],null],null]},[null,["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children","shared","children","$4","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[null,["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children","shared","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/8f3c454cab3414d0.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"zh-CN","children":["$","body",null,{"className":"flex h-screen overflow-hidden bg-gray-50 text-gray-900","children":["$","$L6",null,{"children":["$","$L7",null,{"children":[["$","$L8",null,{}],["$","main",null,{"className":"flex-1 overflow-hidden","children":["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]]}]}]}]}]],null],null],["$L9",null]]]]
|
|
9
9
|
9:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"HunterMate 采集仪表盘"}],["$","meta","3",{"name":"description","content":"HunterMate 采集/解析/入库仪表盘"}]]
|
|
10
10
|
1:null
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="zh-CN"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html lang="zh-CN"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/8f3c454cab3414d0.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-9cebd25e322e2cd7.js"/><script src="/_next/static/chunks/a7067448-3f2b194cfadb91fb.js" async=""></script><script src="/_next/static/chunks/935-12f1084f0e18c962.js" async=""></script><script src="/_next/static/chunks/main-app-f496bd51a73ef9f3.js" async=""></script><script src="/_next/static/chunks/app/snapshots/%5Bid%5D/agent-prompt/page-60ea46364a74b294.js" async=""></script><script src="/_next/static/chunks/589-5bb84ab8060e960b.js" async=""></script><script src="/_next/static/chunks/187-f067914dcd1330c2.js" async=""></script><script src="/_next/static/chunks/app/layout-15c4c2ba595b2a92.js" async=""></script><title>HunterMate 采集仪表盘</title><meta name="description" content="HunterMate 采集/解析/入库仪表盘"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="flex h-screen overflow-hidden bg-gray-50 text-gray-900"><div class="flex h-screen w-screen flex-col items-center justify-center bg-gray-50"><span class="hm-spinner" aria-label="加载中"></span><div class="mt-4 text-sm text-gray-400">正在加载,请稍候…</div></div><script src="/_next/static/chunks/webpack-9cebd25e322e2cd7.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/8f3c454cab3414d0.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[76939,[],\"\"]\n4:I[24492,[\"325\",\"static/chunks/app/snapshots/%5Bid%5D/agent-prompt/page-60ea46364a74b294.js\"],\"default\"]\n5:I[74268,[],\"\"]\n7:I[81050,[],\"\"]\n8:I[15214,[\"589\",\"static/chunks/589-5bb84ab8060e960b.js\",\"187\",\"static/chunks/187-f067914dcd1330c2.js\",\"185\",\"static/chunks/app/layout-15c4c2ba595b2a92.js\"],\"AuthGate\"]\n9:I[67188,[\"589\",\"static/chunks/589-5bb84ab8060e960b.js\",\"187\",\"static/chunks/187-f067914dcd1330c2.js\",\"185\",\"static/chunks/app/layout-15c4c2ba595b2a92.js\"],\"AntdProvider\"]\na:I[9424,[\"589\",\"static/chunks/589-5bb84ab8060e960b.js\",\"187\",\"static/chunks/187-f067914dcd1330c2.js\",\"185\",\"static/chunks/app/layout-15c4c2ba595b2a92.js\"],\"SystemSidebar\"]\nc:I[62319,[],\"\"]\n6:[\"id\",\"placeholder\",\"d\"]\nd:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L2\",null,{\"buildId\":\"tYFZz41gyWi4-BhxuxlGU\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"snapshots\",\"placeholder\",\"agent-prompt\"],\"initialTree\":[\"\",{\"children\":[\"snapshots\",{\"children\":[[\"id\",\"placeholder\",\"d\"],{\"children\":[\"agent-prompt\",{\"children\":[\"__PAGE__?{\\\"id\\\":\\\"placeholder\\\"}\",{}]}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"snapshots\",{\"children\":[[\"id\",\"placeholder\",\"d\"],{\"children\":[\"agent-prompt\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[\"$\",\"$L4\",null,{}],null],null],null]},[null,[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"snapshots\",\"children\",\"$6\",\"children\",\"agent-prompt\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[null,[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"snapshots\",\"children\",\"$6\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[null,[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"snapshots\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/8f3c454cab3414d0.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"zh-CN\",\"children\":[\"$\",\"body\",null,{\"className\":\"flex h-screen overflow-hidden bg-gray-50 text-gray-900\",\"children\":[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$L9\",null,{\"children\":[[\"$\",\"$La\",null,{}],[\"$\",\"main\",null,{\"className\":\"flex-1 overflow-hidden\",\"children\":[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$Lb\"],\"globalErrorComponent\":\"$c\",\"missingSlots\":\"$Wd\"}]\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"HunterMate 采集仪表盘\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"HunterMate 采集/解析/入库仪表盘\"}]]\n3:null\n"])</script></body></html>
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
2:I[24492,["325","static/chunks/app/snapshots/%5Bid%5D/agent-prompt/page-
|
|
1
|
+
2:I[24492,["325","static/chunks/app/snapshots/%5Bid%5D/agent-prompt/page-60ea46364a74b294.js"],"default"]
|
|
2
2
|
3:I[74268,[],""]
|
|
3
3
|
5:I[81050,[],""]
|
|
4
|
-
6:I[15214,["589","static/chunks/589-
|
|
5
|
-
7:I[67188,["589","static/chunks/589-
|
|
6
|
-
8:I[9424,["589","static/chunks/589-
|
|
4
|
+
6:I[15214,["589","static/chunks/589-5bb84ab8060e960b.js","187","static/chunks/187-f067914dcd1330c2.js","185","static/chunks/app/layout-15c4c2ba595b2a92.js"],"AuthGate"]
|
|
5
|
+
7:I[67188,["589","static/chunks/589-5bb84ab8060e960b.js","187","static/chunks/187-f067914dcd1330c2.js","185","static/chunks/app/layout-15c4c2ba595b2a92.js"],"AntdProvider"]
|
|
6
|
+
8:I[9424,["589","static/chunks/589-5bb84ab8060e960b.js","187","static/chunks/187-f067914dcd1330c2.js","185","static/chunks/app/layout-15c4c2ba595b2a92.js"],"SystemSidebar"]
|
|
7
7
|
4:["id","placeholder","d"]
|
|
8
|
-
0:["
|
|
8
|
+
0:["tYFZz41gyWi4-BhxuxlGU",[[["",{"children":["snapshots",{"children":[["id","placeholder","d"],{"children":["agent-prompt",{"children":["__PAGE__?{\"id\":\"placeholder\"}",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["snapshots",{"children":[["id","placeholder","d"],{"children":["agent-prompt",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{}],null],null],null]},[null,["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children","snapshots","children","$4","children","agent-prompt","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[null,["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children","snapshots","children","$4","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[null,["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children","snapshots","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/8f3c454cab3414d0.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"zh-CN","children":["$","body",null,{"className":"flex h-screen overflow-hidden bg-gray-50 text-gray-900","children":["$","$L6",null,{"children":["$","$L7",null,{"children":[["$","$L8",null,{}],["$","main",null,{"className":"flex-1 overflow-hidden","children":["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]]}]}]}]}]],null],null],["$L9",null]]]]
|
|
9
9
|
9:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"HunterMate 采集仪表盘"}],["$","meta","3",{"name":"description","content":"HunterMate 采集/解析/入库仪表盘"}]]
|
|
10
10
|
1:null
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="zh-CN"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html lang="zh-CN"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/8f3c454cab3414d0.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-9cebd25e322e2cd7.js"/><script src="/_next/static/chunks/a7067448-3f2b194cfadb91fb.js" async=""></script><script src="/_next/static/chunks/935-12f1084f0e18c962.js" async=""></script><script src="/_next/static/chunks/main-app-f496bd51a73ef9f3.js" async=""></script><script src="/_next/static/chunks/253-f4ac7af6647e4dba.js" async=""></script><script src="/_next/static/chunks/659-b23050764c004f5f.js" async=""></script><script src="/_next/static/chunks/app/talents/page-5a2caa7a503ee041.js" async=""></script><script src="/_next/static/chunks/589-5bb84ab8060e960b.js" async=""></script><script src="/_next/static/chunks/187-f067914dcd1330c2.js" async=""></script><script src="/_next/static/chunks/app/layout-15c4c2ba595b2a92.js" async=""></script><title>HunterMate 采集仪表盘</title><meta name="description" content="HunterMate 采集/解析/入库仪表盘"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="flex h-screen overflow-hidden bg-gray-50 text-gray-900"><div class="flex h-screen w-screen flex-col items-center justify-center bg-gray-50"><span class="hm-spinner" aria-label="加载中"></span><div class="mt-4 text-sm text-gray-400">正在加载,请稍候…</div></div><script src="/_next/static/chunks/webpack-9cebd25e322e2cd7.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/8f3c454cab3414d0.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[76939,[],\"\"]\n4:I[59659,[\"253\",\"static/chunks/253-f4ac7af6647e4dba.js\",\"659\",\"static/chunks/659-b23050764c004f5f.js\",\"93\",\"static/chunks/app/talents/page-5a2caa7a503ee041.js\"],\"EntityListPage\"]\n5:I[74268,[],\"\"]\n6:I[81050,[],\"\"]\n7:I[15214,[\"589\",\"static/chunks/589-5bb84ab8060e960b.js\",\"187\",\"static/chunks/187-f067914dcd1330c2.js\",\"185\",\"static/chunks/app/layout-15c4c2ba595b2a92.js\"],\"AuthGate\"]\n8:I[67188,[\"589\",\"static/chunks/589-5bb84ab8060e960b.js\",\"187\",\"static/chunks/187-f067914dcd1330c2.js\",\"185\",\"static/chunks/app/layout-15c4c2ba595b2a92.js\"],\"AntdProvider\"]\n9:I[9424,[\"589\",\"static/chunks/589-5bb84ab8060e960b.js\",\"187\",\"static/chunks/187-f067914dcd1330c2.js\",\"185\",\"static/chunks/app/layout-15c4c2ba595b2a92.js\"],\"SystemSidebar\"]\nb:I[62319,[],\"\"]\nc:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L2\",null,{\"buildId\":\"tYFZz41gyWi4-BhxuxlGU\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"talents\"],\"initialTree\":[\"\",{\"children\":[\"talents\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"talents\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[\"$\",\"$L4\",null,{\"type\":\"talent\",\"label\":\"人才\",\"batchDelete\":true}],null],null],null]},[null,[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"talents\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/8f3c454cab3414d0.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"zh-CN\",\"children\":[\"$\",\"body\",null,{\"className\":\"flex h-screen overflow-hidden bg-gray-50 text-gray-900\",\"children\":[\"$\",\"$L7\",null,{\"children\":[\"$\",\"$L8\",null,{\"children\":[[\"$\",\"$L9\",null,{}],[\"$\",\"main\",null,{\"className\":\"flex-1 overflow-hidden\",\"children\":[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$La\"],\"globalErrorComponent\":\"$b\",\"missingSlots\":\"$Wc\"}]\n"])</script><script>self.__next_f.push([1,"a:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"HunterMate 采集仪表盘\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"HunterMate 采集/解析/入库仪表盘\"}]]\n3:null\n"])</script></body></html>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
2:I[59659,["253","static/chunks/253-
|
|
1
|
+
2:I[59659,["253","static/chunks/253-f4ac7af6647e4dba.js","659","static/chunks/659-b23050764c004f5f.js","93","static/chunks/app/talents/page-5a2caa7a503ee041.js"],"EntityListPage"]
|
|
2
2
|
3:I[74268,[],""]
|
|
3
3
|
4:I[81050,[],""]
|
|
4
|
-
5:I[15214,["589","static/chunks/589-
|
|
5
|
-
6:I[67188,["589","static/chunks/589-
|
|
6
|
-
7:I[9424,["589","static/chunks/589-
|
|
7
|
-
0:["
|
|
4
|
+
5:I[15214,["589","static/chunks/589-5bb84ab8060e960b.js","187","static/chunks/187-f067914dcd1330c2.js","185","static/chunks/app/layout-15c4c2ba595b2a92.js"],"AuthGate"]
|
|
5
|
+
6:I[67188,["589","static/chunks/589-5bb84ab8060e960b.js","187","static/chunks/187-f067914dcd1330c2.js","185","static/chunks/app/layout-15c4c2ba595b2a92.js"],"AntdProvider"]
|
|
6
|
+
7:I[9424,["589","static/chunks/589-5bb84ab8060e960b.js","187","static/chunks/187-f067914dcd1330c2.js","185","static/chunks/app/layout-15c4c2ba595b2a92.js"],"SystemSidebar"]
|
|
7
|
+
0:["tYFZz41gyWi4-BhxuxlGU",[[["",{"children":["talents",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["talents",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"type":"talent","label":"人才","batchDelete":true}],null],null],null]},[null,["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children","talents","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/8f3c454cab3414d0.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"zh-CN","children":["$","body",null,{"className":"flex h-screen overflow-hidden bg-gray-50 text-gray-900","children":["$","$L5",null,{"children":["$","$L6",null,{"children":[["$","$L7",null,{}],["$","main",null,{"className":"flex-1 overflow-hidden","children":["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]]}]}]}]}]],null],null],["$L8",null]]]]
|
|
8
8
|
8:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"HunterMate 采集仪表盘"}],["$","meta","3",{"name":"description","content":"HunterMate 采集/解析/入库仪表盘"}]]
|
|
9
9
|
1:null
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="zh-CN"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html lang="zh-CN"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/8f3c454cab3414d0.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-9cebd25e322e2cd7.js"/><script src="/_next/static/chunks/a7067448-3f2b194cfadb91fb.js" async=""></script><script src="/_next/static/chunks/935-12f1084f0e18c962.js" async=""></script><script src="/_next/static/chunks/main-app-f496bd51a73ef9f3.js" async=""></script><script src="/_next/static/chunks/app/team/insights/page-5385dcd363f6e0cd.js" async=""></script><script src="/_next/static/chunks/589-5bb84ab8060e960b.js" async=""></script><script src="/_next/static/chunks/187-f067914dcd1330c2.js" async=""></script><script src="/_next/static/chunks/app/layout-15c4c2ba595b2a92.js" async=""></script><title>HunterMate 采集仪表盘</title><meta name="description" content="HunterMate 采集/解析/入库仪表盘"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="flex h-screen overflow-hidden bg-gray-50 text-gray-900"><div class="flex h-screen w-screen flex-col items-center justify-center bg-gray-50"><span class="hm-spinner" aria-label="加载中"></span><div class="mt-4 text-sm text-gray-400">正在加载,请稍候…</div></div><script src="/_next/static/chunks/webpack-9cebd25e322e2cd7.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/8f3c454cab3414d0.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[76939,[],\"\"]\n4:I[21670,[\"14\",\"static/chunks/app/team/insights/page-5385dcd363f6e0cd.js\"],\"default\"]\n5:I[74268,[],\"\"]\n6:I[81050,[],\"\"]\n7:I[15214,[\"589\",\"static/chunks/589-5bb84ab8060e960b.js\",\"187\",\"static/chunks/187-f067914dcd1330c2.js\",\"185\",\"static/chunks/app/layout-15c4c2ba595b2a92.js\"],\"AuthGate\"]\n8:I[67188,[\"589\",\"static/chunks/589-5bb84ab8060e960b.js\",\"187\",\"static/chunks/187-f067914dcd1330c2.js\",\"185\",\"static/chunks/app/layout-15c4c2ba595b2a92.js\"],\"AntdProvider\"]\n9:I[9424,[\"589\",\"static/chunks/589-5bb84ab8060e960b.js\",\"187\",\"static/chunks/187-f067914dcd1330c2.js\",\"185\",\"static/chunks/app/layout-15c4c2ba595b2a92.js\"],\"SystemSidebar\"]\nb:I[62319,[],\"\"]\nc:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L2\",null,{\"buildId\":\"tYFZz41gyWi4-BhxuxlGU\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"team\",\"insights\"],\"initialTree\":[\"\",{\"children\":[\"team\",{\"children\":[\"insights\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"team\",{\"children\":[\"insights\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[\"$\",\"$L4\",null,{}],null],null],null]},[null,[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"team\",\"children\",\"insights\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[null,[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"team\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/8f3c454cab3414d0.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"zh-CN\",\"children\":[\"$\",\"body\",null,{\"className\":\"flex h-screen overflow-hidden bg-gray-50 text-gray-900\",\"children\":[\"$\",\"$L7\",null,{\"children\":[\"$\",\"$L8\",null,{\"children\":[[\"$\",\"$L9\",null,{}],[\"$\",\"main\",null,{\"className\":\"flex-1 overflow-hidden\",\"children\":[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$La\"],\"globalErrorComponent\":\"$b\",\"missingSlots\":\"$Wc\"}]\n"])</script><script>self.__next_f.push([1,"a:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"HunterMate 采集仪表盘\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"HunterMate 采集/解析/入库仪表盘\"}]]\n3:null\n"])</script></body></html>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
2:I[21670,["14","static/chunks/app/team/insights/page-
|
|
1
|
+
2:I[21670,["14","static/chunks/app/team/insights/page-5385dcd363f6e0cd.js"],"default"]
|
|
2
2
|
3:I[74268,[],""]
|
|
3
3
|
4:I[81050,[],""]
|
|
4
|
-
5:I[15214,["589","static/chunks/589-
|
|
5
|
-
6:I[67188,["589","static/chunks/589-
|
|
6
|
-
7:I[9424,["589","static/chunks/589-
|
|
7
|
-
0:["
|
|
4
|
+
5:I[15214,["589","static/chunks/589-5bb84ab8060e960b.js","187","static/chunks/187-f067914dcd1330c2.js","185","static/chunks/app/layout-15c4c2ba595b2a92.js"],"AuthGate"]
|
|
5
|
+
6:I[67188,["589","static/chunks/589-5bb84ab8060e960b.js","187","static/chunks/187-f067914dcd1330c2.js","185","static/chunks/app/layout-15c4c2ba595b2a92.js"],"AntdProvider"]
|
|
6
|
+
7:I[9424,["589","static/chunks/589-5bb84ab8060e960b.js","187","static/chunks/187-f067914dcd1330c2.js","185","static/chunks/app/layout-15c4c2ba595b2a92.js"],"SystemSidebar"]
|
|
7
|
+
0:["tYFZz41gyWi4-BhxuxlGU",[[["",{"children":["team",{"children":["insights",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["team",{"children":["insights",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{}],null],null],null]},[null,["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children","team","children","insights","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[null,["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children","team","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/8f3c454cab3414d0.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"zh-CN","children":["$","body",null,{"className":"flex h-screen overflow-hidden bg-gray-50 text-gray-900","children":["$","$L5",null,{"children":["$","$L6",null,{"children":[["$","$L7",null,{}],["$","main",null,{"className":"flex-1 overflow-hidden","children":["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]]}]}]}]}]],null],null],["$L8",null]]]]
|
|
8
8
|
8:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"HunterMate 采集仪表盘"}],["$","meta","3",{"name":"description","content":"HunterMate 采集/解析/入库仪表盘"}]]
|
|
9
9
|
1:null
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hunter-mate",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.27",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "HiredChina 猎头 Agent 数据助手 CLI:人才库/客户/职位数据访问,浏览器录制解析简历,server/扩展一致性自愈",
|
|
6
6
|
"license": "MIT",
|
|
@@ -61,11 +61,8 @@
|
|
|
61
61
|
"uuid": "^9.0.0",
|
|
62
62
|
"vitest": "^1.3.0",
|
|
63
63
|
"ws": "^8.21.3",
|
|
64
|
-
"@hunter-mate/
|
|
65
|
-
"@hunter-mate/
|
|
66
|
-
},
|
|
67
|
-
"optionalDependencies": {
|
|
68
|
-
"keytar": "^7.9.0"
|
|
64
|
+
"@hunter-mate/sync-entities": "0.2.1",
|
|
65
|
+
"@hunter-mate/shared": "0.1.5"
|
|
69
66
|
},
|
|
70
67
|
"scripts": {
|
|
71
68
|
"build": "tsc --noEmit && node scripts/bundle.mjs && node ../../scripts/postbuild-shim.mjs dist/index.js hunter-mate && node ../../scripts/postbuild-assets.mjs",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e7e6f5b8-eefd-4276-b869-0ea16809b944",e._sentryDebugIdIdentifier="sentry-dbid-e7e6f5b8-eefd-4276-b869-0ea16809b944")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[166],{20166:function(){}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7ce267b5-df2f-47d2-b50b-eb94179336f0",e._sentryDebugIdIdentifier="sentry-dbid-7ce267b5-df2f-47d2-b50b-eb94179336f0")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{86280:function(e,t,n){Promise.resolve().then(n.t.bind(n,61115,23)),Promise.resolve().then(n.bind(n,67188)),Promise.resolve().then(n.bind(n,15214)),Promise.resolve().then(n.bind(n,9424))},5111:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"}},39721:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.commonLocale=void 0,t.commonLocale={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}},6972:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;let l={...n(39721).commonLocale,locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",week:"周",month:"月",year:"年",previousMonth:"上个月",nextMonth:"下个月",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",previousYear:"上一年",nextYear:"下一年",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪",yearFormat:"YYYY年",cellDateFormat:"D",monthBeforeYear:!1};t.default=l},54539:function(e,t,n){"use strict";var l=n(50129).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(47034));t.default=r.default},47034:function(e,t,n){"use strict";var l=n(50129).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(6972)),a=l(n(53523));let s={lang:{placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"],...r.default},timePickerLocale:{...a.default}};s.lang.ok="确定",t.default=s},26499:function(e,t,n){"use strict";var l=n(50129).default;t.Z=void 0;var r=l(n(5111)),a=l(n(54539)),s=l(n(47034)),i=l(n(53523));let o="${label}不是一个有效的${type}",c={locale:"zh-cn",Pagination:r.default,DatePicker:s.default,TimePicker:i.default,Calendar:a.default,global:{placeholder:"请选择",close:"关闭",sortable:"可排序",show:"显示",hide:"隐藏"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckAll:"全选",filterSearchPlaceholder:"在筛选项中搜索",emptyText:"暂无数据",selectAll:"全选当页",selectInvert:"反选当页",selectNone:"清空所有",selectionAll:"全选所有",sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:"点击降序",triggerAsc:"点击升序",cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Tour:{Next:"下一步",Previous:"上一步",Finish:"结束导览"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:"全选所有",deselectAll:"取消全选",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开",collapse:"收起"},Carousel:{prevSlide:"上一张幻灯片",nextSlide:"下一张幻灯片"},Form:{optional:"(可选)",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:o,method:o,array:o,object:o,number:o,date:o,boolean:o,integer:o,float:o,regexp:o,email:o,url:o,hex:o},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},QRCode:{expired:"二维码过期",refresh:"点击刷新",scanned:"已扫描"},ColorPicker:{presetEmpty:"暂无",transparent:"无色",singleColor:"单色",gradientColor:"渐变色"}};t.Z=c},53523:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]}},67188:function(e,t,n){"use strict";n.d(t,{AntdProvider:function(){return m}});var l=n(72835),r=n(60662),a=n(27473),s=n(60635);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(e[l]=n[l])}return e}).apply(this,arguments)}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,l=Array(t);n<t;n++)l[n]=e[n];return l}var c=function(e){var t,n=(function(e){if(Array.isArray(e))return e}(t=(0,s.useState)(function(){return(0,r.Df)()}))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var l,r,a,s,i=[],o=!0,c=!1;try{for(a=(n=n.call(e)).next;!(o=(l=a.call(n)).done)&&(i.push(l.value),1!==i.length);o=!0);}catch(e){c=!0,r=e}finally{try{if(!o&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return i}}(t,1)||function(e,t){if(e){if("string"==typeof e)return o(e,1);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,1)}}(t,1)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];return(0,a.useServerInsertedHTML)(function(){var e=(0,r.EN)(n,{plain:!0,once:!0});return e.includes('.data-ant-cssinjs-cache-path{content:"";}')?null:s.createElement("style",{id:"antd-cssinjs","data-rc-order":"prepend","data-rc-priority":"-1000",dangerouslySetInnerHTML:{__html:e}})}),s.createElement(r.V9,i({},e,{cache:n}))},u=n(12502),d=n(26499);function m(e){let{children:t}=e;return(0,l.jsx)(c,{children:(0,l.jsx)(u.ZP,{locale:d.Z,children:t})})}},15214:function(e,t,n){"use strict";n.d(t,{AuthGate:function(){return i}});var l=n(72835),r=n(60635),a=n(65777),s=n(69625);function i(e){let{children:t}=e,{authStatus:n,refreshing:r,loadError:i,refresh:u}=(0,a.nu)();return i&&"loading"===n?(0,l.jsxs)(o,{children:[(0,l.jsxs)("div",{className:"text-sm text-red-500",children:[i,"(本地服务未启动?)"]}),(0,l.jsx)("button",{onClick:()=>void u(),className:"mt-4 rounded-lg bg-blue-600 px-4 py-2 text-sm text-white hover:bg-blue-700",children:"重试"})]}):"loading"===n?(0,l.jsxs)(o,{children:[(0,l.jsx)("span",{className:"hm-spinner","aria-label":"加载中"}),(0,l.jsx)("div",{className:"mt-4 text-sm text-gray-400",children:"正在加载,请稍候…"})]}):"out"===n?(0,l.jsx)("div",{className:"flex h-screen w-screen flex-col items-center justify-center bg-gray-50",children:(0,l.jsxs)("div",{className:"w-80 rounded-2xl border border-gray-200 bg-white p-8 text-center shadow-sm",children:[(0,l.jsx)("div",{className:"mb-2 text-3xl",children:"\uD83E\uDD1D"}),(0,l.jsx)("div",{className:"mb-1 text-lg font-semibold text-gray-900",children:"HunterMate"}),(0,l.jsx)("div",{className:"mb-4 text-xs text-gray-400",children:"登录后,你的数据在任何设备同步"}),i&&(0,l.jsx)("div",{className:"mb-3 text-xs text-red-500",children:i}),r&&(0,l.jsxs)("div",{className:"mb-3 flex items-center justify-center gap-2 rounded-lg bg-blue-50 py-2 text-sm text-blue-600",children:[(0,l.jsx)("span",{className:"hm-spinner hm-spinner-sm","aria-label":"加载中"}),"登录中,正在加载你的数据…"]}),(0,l.jsx)(s.U0,{onDone:()=>{u()}})]})}):(0,l.jsxs)(l.Fragment,{children:[r&&(0,l.jsx)(c,{}),t]})}function o(e){let{children:t}=e;return(0,l.jsx)("div",{className:"flex h-screen w-screen flex-col items-center justify-center bg-gray-50",children:t})}function c(){let[e,t]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{let e=setTimeout(()=>t(!0),250);return()=>clearTimeout(e)},[]),e)?(0,l.jsx)("div",{className:"hm-top-bar","aria-hidden":!0}):null}},9424:function(e,t,n){"use strict";n.d(t,{SystemSidebar:function(){return y}});var l=n(72835),r=n(55589),a=n(27473),s=n(60635),i=n(65777),o=n(82182);function c(){let e=(0,s.useSyncExternalStore)(o.mn,o.nk,()=>null),{session:t,sync:n,refresh:r}=(0,i.nu)(),[a,c]=(0,s.useState)(""),[u,d]=(0,s.useState)(""),[m,x]=(0,s.useState)("email"),[f,h]=(0,s.useState)(!1),[y,b]=(0,s.useState)(null),[g,p]=(0,s.useState)(!1),[v,j]=(0,s.useState)(0),w=(0,s.useRef)(null);(0,s.useEffect)(()=>{if(e){var n;x("email"),c(null!==(n=null==t?void 0:t.email)&&void 0!==n?n:""),d(""),b(null),p(!1),j(0)}w.current&&clearInterval(w.current)},[null==e?void 0:e.message]);let N=(0,s.useRef)(!1);if((0,s.useEffect)(()=>{var e;if(!(null==n?void 0:n.authFailed)){N.current=!1;return}!N.current&&((0,o.nk)()||(N.current=!0,(0,o.jr)({message:"登录态已失效,需要登录才可以继续使用",oldUserId:null!==(e=null==t?void 0:t.hmUserId)&&void 0!==e?e:null,retry:async()=>(await r(),!0)})))},[null==n?void 0:n.authFailed,null==t?void 0:t.hmUserId,r]),(0,s.useEffect)(()=>()=>{w.current&&clearInterval(w.current)},[]),!e)return null;let S=()=>{j(60),w.current&&clearInterval(w.current),w.current=setInterval(()=>{j(e=>(e<=1&&w.current&&clearInterval(w.current),Math.max(0,e-1)))},1e3)},C=async()=>{if(!a.includes("@")){b("请输入有效邮箱");return}h(!0),b(null);try{let e=await fetch("".concat((0,i.tQ)(),"/auth/email/send-code"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:a})});if(!e.ok){let t=await e.json().catch(()=>null);b((null==t?void 0:t.message)||"发送失败(HTTP ".concat(e.status,")"));return}x("code"),S()}finally{h(!1)}},k=async()=>{if(!/^\d{4,8}$/.test(u)){b("请输入验证码(4-8 位数字)");return}h(!0),b(null);try{var t;let n=await fetch("".concat((0,i.tQ)(),"/auth/email/verify"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:a,code:u})}),l=await n.json().catch(()=>null);if(!n.ok||!(null==l?void 0:l.access_token)){b((null==l?void 0:l.message)||"验证失败(HTTP ".concat(n.status,")"));return}let s=(0,o.H7)(l.access_token),c=null!==(t=e.oldUserId)&&void 0!==t?t:null;if(null!=c&&null!=s&&c!==s){window.location.reload();return}p(!0),(0,o.qd)(),await r(),await e.retry()||p(!1)}finally{h(!1)}};return(0,l.jsx)("div",{className:"fixed inset-0 z-[60] flex items-center justify-center bg-black/40",children:(0,l.jsxs)("div",{className:"w-80 rounded-xl bg-white p-5 shadow-xl",children:[(0,l.jsx)("h3",{className:"text-base font-semibold text-gray-900",children:"登录已过期"}),(0,l.jsxs)("p",{className:"mt-1 text-xs text-gray-500",children:[e.message,"。重新登录后将自动继续刚才的操作;若登录其他账号,页面将重新加载。"]}),g?(0,l.jsx)("div",{className:"mt-4 rounded bg-blue-50 p-3 text-sm text-blue-700",children:"正在继续刚才的操作…"}):(0,l.jsx)(l.Fragment,{children:"email"===m?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("input",{type:"email",autoFocus:!0,value:a,onChange:e=>c(e.target.value),placeholder:"you@example.com",className:"mb-3 mt-3 w-full rounded-md border border-gray-300 px-3 py-2 text-sm"}),(0,l.jsx)("button",{onClick:C,disabled:f,className:"w-full rounded-lg bg-blue-600 py-2 text-sm text-white hover:bg-blue-700 disabled:opacity-50",children:f?"发送中…":"发送验证码"})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"mb-2 mt-3 text-xs text-gray-500",children:["验证码已发送至 ",a,",请查收邮件后输入"]}),(0,l.jsx)("input",{type:"text",inputMode:"numeric",autoFocus:!0,value:u,onChange:e=>d(e.target.value),placeholder:"6 位验证码",className:"mb-3 w-full rounded-md border border-gray-300 px-3 py-2 text-sm tracking-widest"}),(0,l.jsx)("button",{onClick:k,disabled:f,className:"w-full rounded-lg bg-blue-600 py-2 text-sm text-white hover:bg-blue-700 disabled:opacity-50",children:f?"验证中…":"登录并继续"}),(0,l.jsx)("button",{type:"button",onClick:C,disabled:f||v>0,className:"mt-2 w-full rounded-lg border border-blue-600 py-1.5 text-sm text-blue-600 disabled:border-gray-300 disabled:text-gray-400",children:v>0?"".concat(v,"s 后重发"):"重发验证码"}),(0,l.jsx)("button",{onClick:()=>{x("email"),b(null)},className:"mt-1 w-full py-1 text-xs text-gray-400 hover:text-gray-600",children:"返回修改邮箱"})]})}),y&&(0,l.jsx)("div",{className:"mt-2 text-xs text-red-500",children:y}),!g&&(0,l.jsx)("button",{onClick:o.qd,className:"mt-2 w-full py-1 text-xs text-gray-400 hover:text-gray-600",children:"取消(放弃本次操作)"})]})})}var u=n(69625),d=n(88801);let m=[{key:"delivery",label:"交付",icon:"\uD83C\uDFAF"},{key:"bd",label:"BD",icon:"\uD83E\uDDED"}];function x(){let e=(0,d.mJ)();return(0,l.jsx)("div",{className:"mx-2 mb-2 rounded-lg bg-gray-100 p-1",title:"角色视角:列表与详情按视角展示内容,记住上次选择",children:(0,l.jsx)("div",{className:"grid grid-cols-2 gap-1",children:m.map(t=>{let n=e===t.key;return(0,l.jsxs)("button",{type:"button",onClick:()=>(0,d.hm)(t.key),className:"rounded-md px-2 py-1.5 text-xs font-medium transition ".concat(n?"bg-white shadow-sm":"text-gray-500 hover:text-gray-700"),style:n?{color:"var(--brand-strong)"}:void 0,children:[t.icon," ",t.label]},t.key)})})})}let f=null,h=[{href:"/",label:"仪表盘",icon:"\uD83D\uDCCA"},{href:"/talents",label:"人才",icon:"\uD83D\uDC64"},{href:"/jobs",label:"职位",icon:"\uD83D\uDCBC"},{href:"/companies",label:"公司",icon:"\uD83C\uDFE2"},{href:"/parselog",label:"解析日志",icon:"\uD83D\uDCCB"},{href:"/recordings",label:"录制",icon:"\uD83D\uDD34"},{href:"/resource-usage",label:"资源占用",icon:"\uD83D\uDCBD"},{href:"/team/insights",label:"团队统计",icon:"\uD83D\uDCC8"}];function y(){var e,t,n,o;let m=(0,a.usePathname)()||"/",{sync:y,utoken:b}=(0,i.nu)();(0,s.useEffect)(()=>(0,d.oU)(),[]);let g=(0,i.cp)(y),p=(0,i.Cd)(y,g),v=null!==(n=null===(e=(null!==(t=null==y?void 0:y.pendingCounts)&&void 0!==t?t:[]).find(e=>e.tenantId===g))||void 0===e?void 0:e.count)&&void 0!==n?n:0,[j,w]=(0,s.useState)(null!==(o=null==f?void 0:f.isAdmin)&&void 0!==o&&o);return(0,s.useEffect)(()=>{if(!b){w(!1);return}if((null==f?void 0:f.utoken)===b){w(f.isAdmin);return}let e=!1;return(async()=>{try{let t=await fetch("/admin/entities?pageSize=1&hmUserId=1",{headers:{Authorization:"UTOKEN ".concat(b)}}),n=403!==t.status&&401!==t.status;f={utoken:b,isAdmin:n},e||w(n)}catch(t){e||w(!1)}})(),()=>{e=!0}},[b]),(0,l.jsxs)("aside",{className:"flex h-screen w-56 flex-col border-r border-gray-200 bg-white",style:{borderTopColor:"var(--brand)"},children:[(0,l.jsxs)("div",{className:"flex items-center gap-2 border-b border-gray-200 px-4 py-3",style:{boxShadow:"inset 3px 0 0 var(--brand)"},children:[(0,l.jsx)("span",{className:"text-xl",children:"\uD83E\uDD1D"}),(0,l.jsx)("span",{className:"font-semibold text-gray-900",children:"HunterMate"})]}),(0,l.jsxs)("nav",{className:"flex-1 overflow-auto py-3",children:[h.map(e=>{let t=m===e.href||m.startsWith("".concat(e.href,"/"));return(0,l.jsxs)(r.default,{href:e.href,className:"mx-2 flex items-center gap-3 rounded-lg px-3 py-2 text-sm transition-colors ".concat(t?"hm-active":"text-gray-600 hover:bg-gray-50 hover:text-gray-900"),children:[(0,l.jsx)("span",{className:"text-base",children:e.icon}),e.label]},e.href)}),null!=g&&("owner"===p||"admin"===p)&&(0,l.jsxs)(r.default,{href:"/company/admin",className:"mx-2 flex items-center justify-between rounded-lg px-3 py-2 text-sm transition-colors ".concat(m.startsWith("/company/admin")?"hm-active":"text-gray-600 hover:bg-gray-50 hover:text-gray-900"),children:[(0,l.jsxs)("span",{className:"flex items-center gap-3",children:[(0,l.jsx)("span",{className:"text-base",children:"⚙️"}),"企业管理"]}),v>0&&(0,l.jsx)("span",{className:"rounded-full bg-red-500 px-1.5 text-[10px] leading-4 text-white",children:v>99?"99+":v})]}),j&&(0,l.jsxs)(r.default,{href:"/admin/data",className:"mx-2 flex items-center gap-3 rounded-lg px-3 py-2 text-sm transition-colors ".concat(m.startsWith("/admin")?"hm-active":"text-gray-600 hover:bg-gray-50 hover:text-gray-900"),children:[(0,l.jsx)("span",{className:"text-base",children:"\uD83E\uDDF9"}),"数据管理"]})]}),(0,l.jsx)(x,{}),(0,l.jsx)(u.st,{}),(0,l.jsx)(c,{})]})}},69625:function(e,t,n){"use strict";n.d(t,{U0:function(){return h},st:function(){return i}});var l=n(72835),r=n(60635),a=n(82182),s=n(65777);function i(){var e,t,n;let{session:i,sync:u,utoken:d,loadError:m,refresh:x}=(0,s.nu)(),[f,h]=(0,r.useState)(!1),[b,g]=(0,r.useState)(!1),[p,v]=(0,r.useState)(!1),[j,w]=(0,r.useState)(!1),N=(null==i?void 0:i.loggedIn)||(null==u?void 0:u.loggedIn),S=(0,s.aG)(u),C=(0,s.cp)(u),k=null==C?null:null!==(t=null===(e=S.find(e=>e.tenantId===C))||void 0===e?void 0:e.name)&&void 0!==t?t:null,T=async e=>{w(!0);try{var t,n,l,r;let o=null!==(l=null==u?void 0:null===(n=u.memberships)||void 0===n?void 0:null===(t=n.find(e=>e.isPersonal))||void 0===t?void 0:t.tenantId)&&void 0!==l?l:null,c=new Headers({"Content-Type":"application/json"});d&&c.set("Authorization","UTOKEN ".concat(d));let m=await fetch("".concat((0,s.tQ)(),"/datasync/active-tenant"),{method:"POST",headers:c,body:JSON.stringify({id:null!=e?e:o})});if(401===m.status){(0,a.jr)({message:"登录已过期,请重新登录",oldUserId:null!==(r=null==i?void 0:i.hmUserId)&&void 0!==r?r:null,retry:async()=>{let t=new Headers({"Content-Type":"application/json"}),n=(0,s.Xc)();return n&&t.set("Authorization","UTOKEN ".concat(n)),!!(await fetch("".concat((0,s.tQ)(),"/datasync/active-tenant"),{method:"POST",headers:t,body:JSON.stringify({id:e})})).ok&&(await x(),!0)}});return}await x()}finally{w(!1)}},I=async()=>{let e=new Headers({"Content-Type":"application/json"});d&&e.set("Authorization","UTOKEN ".concat(d)),await fetch("".concat((0,s.tQ)(),"/datasync/logout"),{method:"POST",headers:e}).catch(()=>null),await x()},E=null===u?{text:"同步状态加载中…",cls:"bg-gray-100 text-gray-400"}:u.enabled?u.authFailed?{text:"登录态失效",cls:"bg-red-100 text-red-600"}:u.remoteError?{text:"云端不可达",cls:"bg-amber-100 text-amber-600"}:{text:"同步正常",cls:"bg-green-100 text-green-600"}:{text:"同步未启用",cls:"bg-gray-100 text-gray-500"};return(0,l.jsxs)("div",{className:"relative border-t border-gray-200 px-3 py-3",children:[m?(0,l.jsxs)("div",{className:"text-xs text-red-500",children:[m,"(本地服务未启动?)"]}):N?(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,l.jsxs)("div",{className:"min-w-0",children:[(0,l.jsx)("div",{className:"truncate text-sm font-medium text-gray-900",children:(null==i?void 0:i.email)||"已登录"}),(0,l.jsx)("span",{className:"inline-block rounded-full px-2 py-0.5 text-xs ".concat(E.cls),children:E.text})]}),(0,l.jsx)("button",{onClick:I,title:"退出登录",className:"shrink-0 rounded-md px-2 py-1 text-xs text-gray-400 hover:bg-gray-100 hover:text-gray-600",children:"退出"})]}),(0,l.jsxs)("div",{children:[(0,l.jsxs)("button",{onClick:()=>g(e=>!e),disabled:j,className:"flex w-full items-center justify-between rounded-md border border-gray-200 bg-white px-2 py-1.5 text-sm text-gray-700 hover:border-gray-300 disabled:opacity-50",children:[(0,l.jsx)("span",{className:"truncate",children:null==C?"个人使用(不归属公司)":null!=k?k:"未知公司"}),(0,l.jsx)("span",{className:"text-xs text-gray-400",children:j?"切换中…":"▾"})]}),(0,l.jsx)("div",{className:"mt-1 truncate whitespace-nowrap text-xs text-gray-400",children:"当前归属公司;公司内数据互通"})]})]}):(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"text-sm text-gray-500",children:"未登录"}),(0,l.jsx)("div",{className:"text-xs text-gray-400",children:"登录后可跨设备同步数据"})]}),(0,l.jsx)("button",{onClick:()=>h(!0),className:"rounded-lg bg-blue-600 px-3 py-1.5 text-sm text-white hover:bg-blue-700",children:"登录"})]}),b&&N&&(0,l.jsx)(o,{sync:u,companies:S,activeTenantId:C,onPick:async e=>{g(!1),await T(e)},onCreateJoin:()=>{g(!1),v(!0)},onClose:()=>g(!1)}),p&&N&&(0,l.jsx)(c,{utoken:d,oldUserId:null!==(n=null==i?void 0:i.hmUserId)&&void 0!==n?n:null,onDone:async e=>{v(!1),null!=e&&await T(e),await x()},onClose:()=>v(!1)}),f&&(0,l.jsx)(y,{onClose:()=>h(!1),onDone:()=>{h(!1),x()}})]})}function o(e){let{sync:t,companies:n,activeTenantId:a,onPick:s,onCreateJoin:i,onClose:o}=e,c=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let e=e=>{c.current&&!c.current.contains(e.target)&&o()};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[o]),(0,l.jsxs)("div",{ref:c,className:"absolute bottom-full left-2 right-2 z-40 mb-1 overflow-hidden rounded-xl border border-gray-200 bg-white shadow-xl",children:[(0,l.jsx)("div",{className:"border-b border-gray-100 px-3 py-2 text-xs font-medium text-gray-400",children:"切换公司"}),(0,l.jsxs)("div",{className:"max-h-64 overflow-auto py-1",children:[(0,l.jsxs)("button",{onClick:()=>s(null),className:"flex w-full items-center justify-between px-3 py-2 text-left text-sm hover:bg-gray-50",children:[(0,l.jsx)("span",{className:"text-gray-700",children:"个人使用(不归属公司)"}),null==a&&(0,l.jsx)("span",{className:"text-blue-600",children:"✓"})]}),n.map(e=>{var t;return(0,l.jsxs)("button",{onClick:()=>s(e.tenantId),className:"flex w-full items-center justify-between gap-2 px-3 py-2 text-left text-sm hover:bg-gray-50",children:[(0,l.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5",children:[(0,l.jsx)("span",{className:"truncate text-gray-700",children:e.name}),"owner"===(t=e.role)?(0,l.jsx)("span",{className:"text-[10px] text-amber-600",children:"归属者"}):"admin"===t?(0,l.jsx)("span",{className:"text-[10px] text-blue-600",children:"管理员"}):null]}),a===e.tenantId&&(0,l.jsx)("span",{className:"shrink-0 text-blue-600",children:"✓"})]},e.tenantId)}),0===n.length&&(0,l.jsx)("div",{className:"px-3 py-2 text-xs text-gray-400",children:"尚未加入任何公司"})]}),(0,l.jsx)("button",{onClick:i,className:"w-full border-t border-gray-100 px-3 py-2 text-left text-sm text-blue-600 hover:bg-blue-50",children:"+ 创建或加入公司"})]})}function c(e){let{utoken:t,oldUserId:n,onDone:i,onClose:o}=e,[c,u]=(0,r.useState)(""),[d,m]=(0,r.useState)(!1),[x,f]=(0,r.useState)([]),[h,y]=(0,r.useState)(!1),[b,g]=(0,r.useState)(null),[p,v]=(0,r.useState)(null),[j,w]=(0,r.useState)(null),N=(0,r.useCallback)(async(e,n)=>{let l=new Headers(null==n?void 0:n.headers);return l.set("Content-Type","application/json"),t&&l.set("Authorization","UTOKEN ".concat(t)),fetch("".concat((0,s.tQ)()).concat(e),{...n,headers:l})},[t]);(0,r.useEffect)(()=>{let e=c.trim();if(!e){f([]),m(!1);return}m(!0);let t=setTimeout(async()=>{var t;let n=await N("/company/search?q=".concat(encodeURIComponent(e)));if(!n.ok){f([]),m(!1);return}f(null!==(t=(await n.json()).items)&&void 0!==t?t:[]),m(!1)},300);return()=>clearTimeout(t)},[c,N]);let S=(e,t)=>{(null==t?void 0:t.already)?w("已申请过「".concat(e.name,"」,等待管理员审批")):w("已申请加入「".concat(e.name,"」,管理员通过后即可数据互通")),f(t=>t.map(t=>t.id===e.id?{...t,myApplication:"pending"}:t))},C=async()=>{let e=c.trim();if(e){y(!0),v(null);try{var l;let r=await N("/company",{method:"POST",body:JSON.stringify({name:e})}),o=await r.json().catch(()=>null);if(!r.ok){if(401===r.status){v("登录已过期,请在弹窗中重新登录;登录后自动继续创建"),(0,a.jr)({message:"登录已过期,请重新登录",oldUserId:null!=n?n:null,retry:async()=>{var n,l;let r=new Headers({"Content-Type":"application/json"}),a=null!==(n=(0,s.Xc)())&&void 0!==n?n:t;a&&r.set("Authorization","UTOKEN ".concat(a));let o=await fetch("".concat((0,s.tQ)(),"/company"),{method:"POST",headers:r,body:JSON.stringify({name:e})}),c=await o.json().catch(()=>null);return o.ok?(i(null!==(l=null==c?void 0:c.id)&&void 0!==l?l:null),!0):(v((null==c?void 0:c.message)||"创建失败(HTTP ".concat(o.status,")")),!1)}});return}v((null==o?void 0:o.message)||"创建失败(HTTP ".concat(r.status,")"));return}i(null!==(l=null==o?void 0:o.id)&&void 0!==l?l:null)}finally{y(!1)}}},k=async e=>{g(e.id),v(null),w(null);try{let l=await N("/company/".concat(e.id,"/apply"),{method:"POST",body:JSON.stringify({})}),r=await l.json().catch(()=>null);if(!l.ok){if(401===l.status){v("登录已过期,请在弹窗中重新登录;登录后自动继续申请"),(0,a.jr)({message:"登录已过期,请重新登录",oldUserId:null!=n?n:null,retry:async()=>{var n;let l=new Headers({"Content-Type":"application/json"}),r=null!==(n=(0,s.Xc)())&&void 0!==n?n:t;r&&l.set("Authorization","UTOKEN ".concat(r));let a=await fetch("".concat((0,s.tQ)(),"/company/").concat(e.id,"/apply"),{method:"POST",headers:l,body:JSON.stringify({})}),i=await a.json().catch(()=>null);return a.ok?(S(e,i),!0):(v((null==i?void 0:i.message)||"申请失败(HTTP ".concat(a.status,")")),!1)}});return}v((null==r?void 0:r.message)||"申请失败(HTTP ".concat(l.status,")"));return}S(e,r)}finally{g(null)}},T=e=>"owner"===e.myRole?{label:"归属者",disabled:!0}:"admin"===e.myRole||"member"===e.myRole?{label:"已加入",disabled:!0}:"pending"===e.myApplication?{label:"待审批",disabled:!0}:{label:"申请加入",disabled:!1};return(0,l.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/30",onClick:o,children:(0,l.jsxs)("div",{className:"w-96 rounded-xl bg-white p-5 shadow-xl",onClick:e=>e.stopPropagation(),children:[(0,l.jsx)("h3",{className:"mb-3 text-base font-semibold text-gray-900",children:"创建或加入公司"}),(0,l.jsx)("input",{autoFocus:!0,value:c,onChange:e=>u(e.target.value),placeholder:"输入公司名称,检索是否已存在",className:"mb-2 w-full rounded-md border border-gray-300 px-3 py-2 text-sm"}),(0,l.jsx)("div",{className:"mb-3 max-h-56 min-h-16 overflow-auto rounded-md border border-gray-100",children:""===c.trim()?(0,l.jsx)("div",{className:"px-3 py-4 text-center text-xs text-gray-400",children:"输入关键词可检索已存在的公司并申请加入"}):d?(0,l.jsx)("div",{className:"px-3 py-4 text-center text-xs text-gray-400",children:"检索中…"}):0===x.length?(0,l.jsxs)("div",{className:"px-3 py-4 text-center text-xs text-gray-400",children:["没有匹配「",c.trim(),"」的公司,可直接创建"]}):x.map(e=>{let t=T(e);return(0,l.jsxs)("div",{className:"flex items-center justify-between gap-2 border-b border-gray-50 px-3 py-2 last:border-0",children:[(0,l.jsxs)("div",{className:"min-w-0",children:[(0,l.jsx)("div",{className:"truncate text-sm text-gray-800",children:e.name}),(0,l.jsxs)("div",{className:"text-xs text-gray-400",children:[e.memberCount," 名成员"]})]}),(0,l.jsx)("button",{onClick:()=>!t.disabled&&k(e),disabled:t.disabled||b===e.id,className:"shrink-0 rounded-md px-2.5 py-1 text-xs ".concat(t.disabled?"bg-gray-100 text-gray-400":"bg-blue-600 text-white hover:bg-blue-700 disabled:opacity-50"),children:b===e.id?"申请中…":t.label})]},e.id)})}),(0,l.jsx)("button",{onClick:C,disabled:h||""===c.trim(),className:"w-full rounded-lg bg-blue-600 py-2 text-sm text-white hover:bg-blue-700 disabled:opacity-50",children:h?"创建中…":"创建公司「".concat(c.trim()||"…","」")}),j&&(0,l.jsx)("div",{className:"mt-2 text-xs text-green-600",children:j}),p&&(0,l.jsx)("div",{className:"mt-2 text-xs text-red-500",children:p}),(0,l.jsx)("button",{onClick:o,className:"mt-2 w-full py-1 text-xs text-gray-400 hover:text-gray-600",children:"关闭"})]})})}let u="hm-login-draft",d="hm-login-resend-at",m="hm-last-email";function x(){let e={email:"",step:"email",code:""};try{let t=window.sessionStorage.getItem(u);if(!t)return e;let n=JSON.parse(t);return{email:"string"==typeof n.email?n.email:"",step:"code"===n.step?"code":"email",code:"string"==typeof n.code?n.code:""}}catch(t){return e}}function f(){try{var e;let t=Number(null!==(e=window.sessionStorage.getItem(d))&&void 0!==e?e:0);return Math.max(0,Math.ceil((t-Date.now())/1e3))}catch(e){return 0}}function h(e){let{onDone:t}=e,[n,a]=(0,r.useState)(x),[i,o]=(0,r.useState)(!1),[c,h]=(0,r.useState)(f),[y,b]=(0,r.useState)(null),[g,p]=(0,r.useState)(null),v=(0,r.useRef)(null),{email:j,step:w,code:N}=n;(0,r.useEffect)(()=>{if(!j){let e=function(){try{var e;return null!==(e=window.localStorage.getItem(m))&&void 0!==e?e:""}catch(e){return""}}();e&&S({email:e})}},[]),(0,r.useEffect)(()=>()=>{v.current&&clearInterval(v.current)},[]);let S=e=>{a(t=>{let n={...t,...e};try{window.sessionStorage.setItem(u,JSON.stringify(n))}catch(e){}return n})},C=e=>{try{window.localStorage.setItem(m,e)}catch(e){}},k=()=>{try{window.sessionStorage.removeItem(u),window.sessionStorage.removeItem(d)}catch(e){}},T=()=>{try{window.sessionStorage.setItem(d,String(Date.now()+6e4))}catch(e){}h(60),v.current&&clearInterval(v.current),v.current=setInterval(()=>{h(e=>(e<=1&&v.current&&clearInterval(v.current),Math.max(0,e-1)))},1e3)},I=/^[^@\s]+@[^@\s]+\.[^@\s]+$/,E=async()=>{let e=j.trim().toLowerCase();if(!I.test(e)){p("请输入有效邮箱");return}o(!0),p(null),b(null);let t=await fetch("".concat((0,s.tQ)(),"/auth/email/send-code"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e})});if(o(!1),!t.ok){let e=await t.json().catch(()=>null);p((null==e?void 0:e.message)||"发送失败(HTTP ".concat(t.status,")"));return}C(e),S({email:e,step:"code"}),T(),b("验证码已发送,请查收邮件")},D=async()=>{if(!/^\d{6}$/.test(N.trim())){p("请输入 6 位数字验证码");return}o(!0),p(null);let e=await fetch("".concat((0,s.tQ)(),"/auth/email/verify"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:j.trim().toLowerCase(),code:N.trim()})});if(o(!1),!e.ok){let t=await e.json().catch(()=>null);p((null==t?void 0:t.message)||"验证失败(HTTP ".concat(e.status,")"));return}C(j.trim().toLowerCase()),k(),t()};return(0,l.jsxs)("div",{children:["email"===w?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("input",{type:"email",autoFocus:!0,value:j,onFocus:e=>e.target.select(),onChange:e=>S({email:e.target.value}),onBlur:e=>S({email:e.target.value.trim().toLowerCase()}),placeholder:"you@example.com",className:"mb-3 w-full rounded-md border border-gray-300 px-3 py-2 text-sm"}),(0,l.jsx)("button",{onClick:E,disabled:i,className:"w-full rounded-lg bg-blue-600 py-2 text-sm text-white hover:bg-blue-700 disabled:opacity-50",children:i?"发送中…":"发送验证码"})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"mb-2 text-left text-xs text-gray-500",children:["验证码已发送至 ",j,",请查收邮件"]}),(0,l.jsx)("input",{type:"text",inputMode:"numeric",autoFocus:!0,maxLength:6,value:N,onChange:e=>S({code:e.target.value}),placeholder:"6 位验证码",className:"mb-3 w-full rounded-md border border-gray-300 px-3 py-2 text-sm tracking-widest"}),(0,l.jsx)("button",{onClick:D,disabled:i,className:"w-full rounded-lg bg-blue-600 py-2 text-sm text-white hover:bg-blue-700 disabled:opacity-50",children:i?"登录中…":"登录"}),(0,l.jsxs)("div",{className:"mt-2 flex items-center justify-between text-xs",children:[(0,l.jsx)("button",{onClick:E,disabled:i||c>0,className:"text-gray-400 hover:text-gray-600 disabled:text-gray-300",children:c>0?"重新发送(".concat(c,"s)"):"重新发送"}),(0,l.jsx)("button",{onClick:()=>{S({step:"email",code:""}),p(null)},className:"text-gray-400 hover:text-gray-600",children:"返回修改邮箱"})]})]}),y&&(0,l.jsx)("div",{className:"mt-2 text-xs text-green-600",children:y}),g&&(0,l.jsx)("div",{className:"mt-2 text-xs text-red-500",children:g})]})}function y(e){let{onClose:t,onDone:n}=e;return(0,l.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/30",children:(0,l.jsxs)("div",{className:"w-80 rounded-xl bg-white p-5 shadow-xl",children:[(0,l.jsx)("h3",{className:"mb-3 text-base font-semibold text-gray-900",children:"邮箱验证码登录"}),(0,l.jsx)(h,{onDone:n}),(0,l.jsx)("button",{onClick:t,className:"mt-2 w-full py-1 text-xs text-gray-400 hover:text-gray-600",children:"关闭"})]})})}},65777:function(e,t,n){"use strict";let l;n.d(t,{Cd:function(){return C},Xc:function(){return T},aG:function(){return N},cp:function(){return S},nu:function(){return w},tQ:function(){return k}});var r=n(60635),a=n(74431),s=n(67002),i=n(60529);let o=null,c=null,u=null,d=new Set;function m(){d.forEach(e=>e())}function x(e){o=o?{...o,refreshing:e}:{...p,refreshing:e},m()}async function f(){try{return await (0,a.aA)("/auth/session")}catch(e){return null}}async function h(e){let t=new Headers,n=(0,s.Xc)();n&&t.set("Authorization","UTOKEN ".concat(n));try{return await (0,a.aA)(e,{headers:t})}catch(e){return null}}async function y(){x(!0);try{var e;let[t,n]=await Promise.all([f(),h("/datasync/state")]),r=(null==t?void 0:t.loggedIn)&&t.token?t.token:null,a=null!=n?n:null;!a&&t&&r&&r!==(0,s.Xc)()?((0,s.GK)(r),a=await h("/datasync/state")):(0,s.GK)(r),function(e){if(void 0===l){l=e;return}if(e!==l){l=e;try{window.localStorage.removeItem("hm-view-mode")}catch(e){}}}((null==t?void 0:t.loggedIn)&&null!==(e=t.hmUserId)&&void 0!==e?e:null);let i=!!((null==t?void 0:t.loggedIn)||(null==a?void 0:a.loggedIn));if(!t&&!a){o=o?{...o,loadError:"本地服务无响应"}:{...p,loadError:"本地服务无响应"},m();return}o={session:null!=t?t:{loggedIn:!1},sync:a,utoken:(0,s.Xc)(),loadError:null,refreshing:!1,authStatus:i?"in":"out",refresh:b},m()}finally{(null==o?void 0:o.refreshing)&&x(!1)}}function b(){return c||(c=y().finally(()=>{c=null}))}function g(e){return d.add(e),1===d.size&&(b(),u=setInterval(()=>void b(),6e4)),()=>{d.delete(e),0===d.size&&u&&(clearInterval(u),u=null)}}let p={session:null,sync:null,utoken:null,loadError:null,refreshing:!1,authStatus:"loading",refresh:b};function v(){return null!=o?o:p}function j(){return v()}function w(){return(0,r.useSyncExternalStore)(g,v,j)}function N(e){var t;return(null!==(t=null==e?void 0:e.memberships)&&void 0!==t?t:[]).filter(e=>!e.isPersonal&&!e.leftAt)}function S(e){var t,n;let l=null!==(t=null==e?void 0:e.activeTenantId)&&void 0!==t?t:null;if(null==l)return null;let r=(null!==(n=null==e?void 0:e.memberships)&&void 0!==n?n:[]).find(e=>e.tenantId===l&&!e.leftAt);return!r||r.isPersonal?null:l}function C(e,t){var n,l;if(!t)return null;let r=(null!==(n=null==e?void 0:e.memberships)&&void 0!==n?n:[]).find(e=>e.tenantId===t&&!e.leftAt&&!e.isPersonal);return null!==(l=null==r?void 0:r.role)&&void 0!==l?l:null}function k(){return i.env.NEXT_PUBLIC_HUNTER_MATE_SERVER_URL||""}function T(){return(0,s.Xc)()}},82182:function(e,t,n){"use strict";n.d(t,{H7:function(){return u},jr:function(){return s},mn:function(){return c},nk:function(){return o},qd:function(){return i}});let l=null,r=new Set;function a(){r.forEach(e=>e())}function s(e){l=e,a()}function i(){l&&(l=null,a())}function o(){return l}function c(e){return r.add(e),()=>r.delete(e)}function u(e){if(!e)return null;try{var t,n,l,r,a;let s=e.split(".")[1],i=JSON.parse(decodeURIComponent(escape(atob(s.replace(/-/g,"+").replace(/_/g,"/"))))),o=null!==(a=null!==(r=null!==(l=null==i?void 0:null===(t=i.data)||void 0===t?void 0:t._id)&&void 0!==l?l:null==i?void 0:null===(n=i.data)||void 0===n?void 0:n.id)&&void 0!==r?r:null==i?void 0:i.sub)&&void 0!==a?a:null;return"number"==typeof o?o:null}catch(e){return null}}},74431:function(e,t,n){"use strict";n.d(t,{Ox:function(){return a},aA:function(){return o}});var l=n(67002),r=n(60529);function a(){return r.env.HUNTER_MATE_SERVER_URL||""}let s=a();class i extends Error{constructor(e,t,n){super(null!=n?n:"请求失败(".concat(e,")").concat(t?": ".concat(t):"")),this.status=e,this.path=t,this.name="HttpError"}}async function o(e,t){let n;try{n=await fetch("".concat(s).concat(e),{cache:"no-store",...function(e){let t=(0,l.Xc)();if(!t)return e;let n=new Headers(null==e?void 0:e.headers);return n.has("Authorization")||n.set("Authorization","UTOKEN ".concat(t)),{...e,headers:n}}(t)})}catch(t){throw new i(0,e,t instanceof Error?t.message:"网络错误")}if(!n.ok)throw new i(n.status,e,"HTTP ".concat(n.status));try{return await n.json()}catch(t){throw new i(n.status,e,t instanceof Error?"响应解析失败: ".concat(t.message):"响应解析失败")}}},67002:function(e,t,n){"use strict";n.d(t,{GK:function(){return s},Lc:function(){return i},Xc:function(){return a}});let l=null,r=new Set;function a(){return l}function s(e){e!==l&&(l=e,r.forEach(e=>e()))}function i(e){return r.add(e),()=>{r.delete(e)}}},88801:function(e,t,n){"use strict";n.d(t,{hm:function(){return c},mJ:function(){return d},oU:function(){return u}});var l=n(60635);let r="hm-view-mode",a=new Set;function s(){return"bd"===window.localStorage.getItem(r)?"bd":"delivery"}function i(e){return a.add(e),()=>a.delete(e)}function o(e){"undefined"!=typeof document&&(document.documentElement.dataset.view=e)}function c(e){window.localStorage.setItem(r,e),o(e),a.forEach(e=>e())}function u(){o(s())}function d(e){let t=(0,l.useSyncExternalStore)(i,s,()=>"delivery");return null!=e?e:t}},61115:function(){},50129:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}},function(e){e.O(0,[24,589,187,400,935,744],function(){return e(e.s=86280)}),_N_E=e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3da81d10-4e17-46c2-8913-e52b1e07ce22",e._sentryDebugIdIdentifier="sentry-dbid-3da81d10-4e17-46c2-8913-e52b1e07ce22")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[370],{71428:function(e,t,s){Promise.resolve().then(s.bind(s,36297))},27473:function(e,t,s){"use strict";var n=s(38321);s.o(n,"useParams")&&s.d(t,{useParams:function(){return n.useParams}}),s.o(n,"usePathname")&&s.d(t,{usePathname:function(){return n.usePathname}}),s.o(n,"useRouter")&&s.d(t,{useRouter:function(){return n.useRouter}}),s.o(n,"useSearchParams")&&s.d(t,{useSearchParams:function(){return n.useSearchParams}}),s.o(n,"useServerInsertedHTML")&&s.d(t,{useServerInsertedHTML:function(){return n.useServerInsertedHTML}})},36297:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return T}});var n=s(72835),r=s(60635),l=s(27473),a=s(74431),i=s(37202),o=s(94518),d=s(8448);function c(e){var t,s,r,l,a;let{sessionId:i,eventCount:o,sourceUrl:c,startedAt:u,lastEventAt:x,summary:m}=e,v=[{label:"rrweb",value:null!==(t=null==m?void 0:m.rrwebCount)&&void 0!==t?t:0},{label:"network",value:null!==(s=null==m?void 0:m.networkCount)&&void 0!==s?s:0},{label:"console",value:null!==(r=null==m?void 0:m.consoleCount)&&void 0!==r?r:0},{label:"简历",value:null!==(l=null==m?void 0:m.resumeCount)&&void 0!==l?l:0},{label:"操作",value:null!==(a=null==m?void 0:m.actionCount)&&void 0!==a?a:0}].filter(e=>e.value>0);return(0,n.jsxs)("section",{className:"rounded-lg border border-gray-200 bg-white p-5 shadow-sm",children:[(0,n.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"text-sm text-gray-500",children:"事件数"}),(0,n.jsx)("div",{className:"text-lg font-semibold",children:o})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"text-sm text-gray-500",children:"来源页面"}),c?(0,n.jsx)("a",{href:c,target:"_blank",rel:"noreferrer",className:"break-all text-sm text-blue-600 hover:underline",children:c}):(0,n.jsx)("div",{className:"text-sm text-gray-400",children:"-"})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"text-sm text-gray-500",children:"开始时间"}),(0,n.jsx)("div",{className:"text-sm",children:(0,d.d3)(u)})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"text-sm text-gray-500",children:"最近事件"}),(0,n.jsx)("div",{className:"text-sm",children:(0,d.d3)(x)})]})]}),v.length>0?(0,n.jsx)("div",{className:"mt-3 flex flex-wrap gap-2 border-t border-gray-100 pt-3",children:v.map(e=>(0,n.jsxs)("span",{className:"rounded bg-gray-100 px-2 py-1 text-xs text-gray-700",children:[e.label,": ",e.value]},e.label))}):null,(0,n.jsx)("div",{className:"mt-3 border-t border-gray-100 pt-3",children:(0,n.jsx)("div",{className:"font-mono text-xs text-gray-400",children:i})})]})}let u={rrweb:"rrweb",network:"network",console:"console",resume:"简历",action:"操作"},x={rrweb:"bg-purple-100 text-purple-700",network:"bg-blue-100 text-blue-700",console:"bg-yellow-100 text-yellow-700",resume:"bg-green-100 text-green-700",action:"bg-gray-100 text-gray-700"};function m(e){var t,s;let{type:r}=e,l=null!==(t=u[r])&&void 0!==t?t:r,a=null!==(s=x[r])&&void 0!==s?s:"bg-gray-100 text-gray-600";return(0,n.jsx)("span",{className:"inline-flex items-center rounded px-2 py-0.5 text-xs font-medium ".concat(a),children:l})}let v=["rrweb","network","console","resume","action"];function h(e){let{events:t,selectedEventId:s,onSelectEvent:l}=e,[a,i]=(0,r.useState)("all"),o=(0,r.useMemo)(()=>{let e=[...t].sort((e,t)=>new Date(e.createdAt).getTime()-new Date(t.createdAt).getTime());return"all"===a?e:e.filter(e=>e.eventType===a)},[t,a]);return(0,n.jsxs)("section",{className:"rounded-lg border border-gray-200 bg-white p-5 shadow-sm",children:[(0,n.jsxs)("div",{className:"mb-4 flex flex-wrap items-center gap-2",children:[(0,n.jsx)("button",{type:"button",onClick:()=>i("all"),className:"rounded px-2 py-1 text-xs ".concat("all"===a?"bg-gray-800 text-white":"border border-gray-300 text-gray-600 hover:bg-gray-50"),children:"全部"}),v.map(e=>(0,n.jsx)("button",{type:"button",onClick:()=>i(e),className:"rounded px-2 py-1 text-xs ".concat(a===e?"bg-gray-800 text-white":"border border-gray-300 text-gray-600 hover:bg-gray-50"),children:(0,n.jsx)(m,{type:e})},e))]}),(0,n.jsx)("div",{className:"max-h-96 overflow-auto",children:0===o.length?(0,n.jsx)("div",{className:"py-8 text-center text-sm text-gray-400",children:"暂无事件"}):(0,n.jsx)("ul",{className:"space-y-1",children:o.map((e,t)=>{var r;return(0,n.jsxs)("li",{role:l?"button":void 0,tabIndex:l?0:void 0,onClick:()=>null==l?void 0:l(e),onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(null==l||l(e))},className:"flex items-start gap-3 rounded p-2 text-sm ".concat(l?"cursor-pointer hover:bg-gray-50":""," ").concat(s===e.id?"bg-blue-50":""),children:[(0,n.jsx)(m,{type:e.eventType}),(0,n.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,n.jsx)("div",{className:"truncate text-gray-900",children:function(e){var t,s,n,r,l,a,i;let{eventType:o,payload:d}=e;switch(o){case"rrweb":return"rrweb ".concat(null!==(t=null==d?void 0:d.type)&&void 0!==t?t:"event");case"network":return"".concat(null!==(s=null==d?void 0:d.method)&&void 0!==s?s:"GET"," ").concat(null!==(n=null==d?void 0:d.url)&&void 0!==n?n:"?");case"console":return"[".concat(null!==(l=null==d?void 0:d.level)&&void 0!==l?l:"log","] ").concat(String(null!==(a=null==d?void 0:null===(r=d.args)||void 0===r?void 0:r[0])&&void 0!==a?a:""));case"resume":return"简历提取事件";case"action":return null!==(i=null==d?void 0:d.action)&&void 0!==i?i:"操作事件";default:return o}}(e)}),(0,n.jsx)("div",{className:"text-xs text-gray-400",children:(0,d.d3)(e.createdAt)})]})]},null!==(r=e.id)&&void 0!==r?r:t)})})})]})}function g(e){let{data:t}=e;return(0,n.jsx)("pre",{className:"max-h-64 overflow-auto rounded bg-gray-50 p-3 text-xs text-gray-700",children:JSON.stringify(t,null,2)})}function f(e){var t;let{event:s}=e,r=s.payload,l=(null==r?void 0:r.type)===2?"全量快照":(null==r?void 0:r.type)===3?"增量":"类型 ".concat(null!==(t=null==r?void 0:r.type)&&void 0!==t?t:"?");return(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsxs)("div",{className:"text-sm text-gray-500",children:["rrweb ",l," \xb7 ",s.sourceUrl?(0,n.jsx)("a",{href:s.sourceUrl,target:"_blank",rel:"noreferrer",className:"text-blue-600 hover:underline",children:s.sourceUrl}):"来源未知"]}),(0,n.jsx)("div",{className:"rounded border border-purple-100 bg-purple-50 p-3 text-sm text-purple-700",children:"rrweb-player 完整回放将在后续迭代接入,当前可查看下方原始 JSON。"}),(0,n.jsx)(g,{data:s.payload})]})}function b(e){var t,s,r,l;let{event:a}=e,i=a.payload;return(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsxs)("div",{className:"grid gap-3 sm:grid-cols-2",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"text-xs text-gray-500",children:"Method"}),(0,n.jsx)("div",{className:"text-sm font-medium",children:null!==(t=null==i?void 0:i.method)&&void 0!==t?t:"?"})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"text-xs text-gray-500",children:"Status"}),(0,n.jsx)("div",{className:"text-sm font-medium",children:null!==(s=null==i?void 0:i.status)&&void 0!==s?s:"?"})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"text-xs text-gray-500",children:"MIME"}),(0,n.jsx)("div",{className:"text-sm font-medium",children:null!==(r=null==i?void 0:i.mimeType)&&void 0!==r?r:"?"})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"text-xs text-gray-500",children:"Size"}),(0,n.jsx)("div",{className:"text-sm font-medium",children:null!==(l=null==i?void 0:i.size)&&void 0!==l?l:"?"})]})]}),(null==i?void 0:i.url)?(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"text-xs text-gray-500",children:"URL"}),(0,n.jsx)("a",{href:i.url,target:"_blank",rel:"noreferrer",className:"break-all text-sm text-blue-600 hover:underline",children:i.url})]}):null,(0,n.jsx)(g,{data:a.payload})]})}function y(e){var t,s,r,l;let{event:a}=e,i=a.payload,o=null!==(r=({error:"text-red-600",warn:"text-yellow-600",info:"text-blue-600",debug:"text-gray-500",log:"text-gray-700"})[null!==(s=null==i?void 0:i.level)&&void 0!==s?s:"log"])&&void 0!==r?r:"text-gray-700";return(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsxs)("div",{className:"text-sm",children:["Level: ",(0,n.jsx)("span",{className:"font-medium ".concat(o),children:null!==(l=null==i?void 0:i.level)&&void 0!==l?l:"log"})]}),(null==i?void 0:null===(t=i.args)||void 0===t?void 0:t.length)?(0,n.jsx)("div",{className:"space-y-2",children:i.args.map((e,t)=>(0,n.jsx)(g,{data:e},t))}):(0,n.jsx)(g,{data:a.payload})]})}function p(e){var t;let{event:s}=e,r=s.payload;return(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsx)("div",{className:"text-sm font-medium",children:null!==(t=null==r?void 0:r.title)&&void 0!==t?t:"简历提取事件"}),(null==r?void 0:r.source)?(0,n.jsxs)("div",{className:"text-xs text-gray-500",children:["来源: ",(0,n.jsx)("a",{href:r.source,target:"_blank",rel:"noreferrer",className:"text-blue-600 hover:underline",children:r.source})]}):null,(null==r?void 0:r.fields)?(0,n.jsx)(g,{data:r.fields}):(0,n.jsx)(g,{data:s.payload})]})}function j(e){var t;let{event:s}=e,r=s.payload;return(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsx)("div",{className:"text-sm font-medium",children:null!==(t=null==r?void 0:r.action)&&void 0!==t?t:"操作事件"}),(0,n.jsx)(g,{data:s.payload})]})}function N(e){let t,{event:s}=e,[l,a]=(0,r.useState)(!1);switch(s.eventType){case"rrweb":t=(0,n.jsx)(f,{event:s});break;case"network":t=(0,n.jsx)(b,{event:s});break;case"console":t=(0,n.jsx)(y,{event:s});break;case"resume":t=(0,n.jsx)(p,{event:s});break;case"action":t=(0,n.jsx)(j,{event:s});break;default:t=(0,n.jsx)(g,{data:s.payload})}return(0,n.jsxs)("section",{className:"rounded-lg border border-gray-200 bg-white p-5 shadow-sm",children:[(0,n.jsxs)("div",{className:"mb-3 flex items-center justify-between",children:[(0,n.jsx)("h2",{className:"text-lg font-semibold",children:"事件详情"}),(0,n.jsx)("button",{type:"button",onClick:()=>a(e=>!e),className:"rounded border border-gray-300 px-3 py-1 text-sm hover:bg-gray-50",children:l?"收起原始 JSON":"查看原始 JSON"})]}),t,l?(0,n.jsx)("div",{className:"mt-3",children:(0,n.jsx)(g,{data:s})}):null]})}function w(e){let{sessionId:t}=e,[s,l]=(0,r.useState)("idle"),[i,o]=(0,r.useState)(null),[d,c]=(0,r.useState)("");async function u(){l("loading"),c("");try{let e=await (0,a.aA)("/api/recordings/".concat(encodeURIComponent(t),"/parse"),{method:"POST"});o(e),l("success")}catch(e){l("error"),c(e instanceof Error?e.message:String(e))}}let x=i&&"object"==typeof i&&"entity"in i&&i.entity&&"object"==typeof i.entity&&"id"in i.entity&&"type"in i.entity?"/entity?type=".concat(encodeURIComponent(String(i.entity.type)),"&id=").concat(encodeURIComponent(String(i.entity.id))):null;return(0,n.jsxs)("section",{className:"rounded-lg border border-gray-200 bg-white p-5 shadow-sm",children:[(0,n.jsxs)("div",{className:"flex items-center justify-between",children:[(0,n.jsx)("h2",{className:"text-lg font-semibold",children:"解析"}),(0,n.jsx)("button",{type:"button",onClick:u,disabled:"loading"===s,className:"rounded bg-blue-600 px-4 py-2 text-sm font-medium text-white hover:bg-blue-700 disabled:opacity-50",children:"loading"===s?"解析中…":"触发解析"})]}),"success"===s?(0,n.jsxs)("div",{className:"mt-3 rounded border border-green-200 bg-green-50 p-3 text-sm text-green-700",children:[(0,n.jsx)("div",{children:"解析成功 ✅"}),x?(0,n.jsx)("a",{href:x,className:"mt-1 inline-block text-blue-600 hover:underline",children:"查看解析结果 →"}):null]}):null,"error"===s?(0,n.jsxs)("div",{className:"mt-3 rounded border border-red-200 bg-red-50 p-3 text-sm text-red-700",children:[(0,n.jsx)("div",{children:"解析失败"}),d?(0,n.jsx)("div",{className:"mt-1",children:d}):null]}):null]})}function S(e){let{events:t}=e,l=(0,r.useRef)(null),[a,i]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{let e;if(!l.current||0===t.length)return;let n=!1;return async function(){let r=await Promise.all([s.e(131),s.e(671)]).then(s.bind(s,15841));await Promise.all([s.e(608),s.e(166)]).then(s.t.bind(s,20166,23)),!n&&l.current&&(e=new(r.default||r)({target:l.current,props:{events:t}}),i(!0))}(),()=>{var t;n=!0,null==e||null===(t=e.$destroy)||void 0===t||t.call(e),l.current&&(l.current.innerHTML="")}},[t]),0===t.length)?(0,n.jsx)("div",{className:"rounded border border-gray-200 bg-white p-4 shadow-sm text-sm text-gray-500",children:"暂无 rrweb 回放事件"}):(0,n.jsxs)("div",{className:"rounded border border-gray-200 bg-white p-4 shadow-sm",children:[(0,n.jsx)("div",{ref:l,className:"w-full"}),a?null:(0,n.jsx)("div",{className:"text-sm text-gray-500",children:"播放器加载中…"})]})}function k(e){let{data:t}=e,s=(0,l.useSearchParams)().get("eventId"),[a,i]=(0,r.useState)(null),[o,d]=(0,r.useState)(!1);(0,r.useEffect)(()=>{if(!s||!t.events.length){i(null);return}let e=Number(s),n=t.events.find(t=>t.id===e);i(null!=n?n:null)},[s,t.events]);let u=t.events.filter(e=>"rrweb"===e.eventType).map(e=>e.payload);return(0,n.jsxs)("div",{className:"mx-auto max-w-4xl",children:[(0,n.jsx)("header",{className:"mb-6",children:(0,n.jsx)("h1",{className:"text-2xl font-bold text-gray-900",children:"录制会话"})}),(0,n.jsx)(c,{sessionId:t.sessionId,eventCount:t.eventCount,sourceUrl:t.sourceUrl,startedAt:t.startedAt,lastEventAt:t.lastEventAt,summary:t.summary}),(0,n.jsx)("div",{className:"mt-4",children:(0,n.jsx)(S,{events:u})}),(0,n.jsx)("div",{className:"mt-4",children:(0,n.jsx)(w,{sessionId:t.sessionId})}),(0,n.jsx)("div",{className:"mt-4",children:(0,n.jsx)(h,{events:t.events,selectedEventId:null==a?void 0:a.id,onSelectEvent:i})}),a?(0,n.jsx)("div",{className:"mt-4",children:(0,n.jsx)(N,{event:a})}):null,(0,n.jsxs)("section",{className:"mt-4 rounded-lg border border-gray-200 bg-white p-5 shadow-sm",children:[(0,n.jsxs)("div",{className:"mb-3 flex items-center justify-between",children:[(0,n.jsx)("h2",{className:"text-lg font-semibold",children:"原始事件 JSON"}),(0,n.jsx)("button",{type:"button",onClick:()=>d(e=>!e),className:"rounded border border-gray-300 px-3 py-1 text-sm hover:bg-gray-50",children:o?"收起":"展开"})]}),o?(0,n.jsx)("pre",{className:"max-h-96 overflow-auto rounded bg-gray-50 p-3 text-xs text-gray-700",children:JSON.stringify(t.events,null,2)}):(0,n.jsxs)("div",{className:"text-sm text-gray-500",children:["共 ",t.events.length," 条事件,点击展开查看原始 JSON"]})]})]})}var I=s(63718);function C(e){let{session:t}=e;return(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"font-mono text-xs text-gray-500",children:t.sessionId}),(0,n.jsxs)("div",{className:"flex items-center gap-2 text-sm font-medium text-gray-900",children:[(0,n.jsxs)("span",{children:[t.eventCount," 事件"]}),"number"==typeof t.tabId?(0,n.jsxs)("span",{className:"rounded bg-gray-100 px-1.5 py-0.5 text-xs text-gray-600",children:["tab #",t.tabId]}):null]}),t.sourceUrl?(0,n.jsx)("div",{className:"truncate text-xs text-blue-600",children:t.sourceUrl}):null,(0,n.jsx)("div",{className:"text-xs text-gray-400",children:(0,d.d3)(t.lastEventAt)})]})}function E(e){let{sessions:t,selectedId:s,onSelect:r,loading:l}=e,a=t.map(e=>({id:e.sessionId,content:(0,n.jsx)(C,{session:e})}));return(0,n.jsx)(I.L,{items:a,selectedId:s,onSelect:r,loading:l,emptyText:"暂无录制会话"})}function L(e){let t=new URLSearchParams;Object.entries(e).forEach(e=>{let[s,n]=e;n&&t.set(s,n)});let s=t.toString();return s?"?".concat(s):""}function A(){var e,t,s,d;let c=(0,l.useRouter)(),u=(0,l.usePathname)(),x=(0,l.useSearchParams)(),m=x.get("sessionId")||"",v=(0,r.useMemo)(()=>({q:x.get("q")||"",status:"",from:x.get("from")||"",to:x.get("to")||""}),[x]),[h,g]=(0,r.useState)([]),[f,b]=(0,r.useState)(!1),[y,p]=(0,r.useState)(null),[j,N]=(0,r.useState)(!0),[w,S]=(0,r.useState)(!1),[I,C]=(0,r.useState)(!1),A=(0,r.useCallback)(e=>{var t,s;let n=null!==(t=e.filters)&&void 0!==t?t:v,r=L({sessionId:null!==(s=e.sessionId)&&void 0!==s?s:m,q:n.q,from:n.from,to:n.to});c.replace("".concat(u).concat(r))},[v,m,u,c]),T=(0,r.useCallback)(e=>{(null==e?void 0:e.withLoading)&&N(!0);let t=L({q:v.q,from:v.from,to:v.to});(0,a.aA)("/api/recordings?limit=200".concat(t.replace("?","&"))).then(e=>{g(t=>{var s;return function(e,t){let s=new Map(e.map(e=>[e.sessionId,e]));return t.map(e=>{let t=s.get(e.sessionId);return t&&t.eventCount===e.eventCount&&t.lastEventAt===e.lastEventAt&&t.tabId===e.tabId?t:{...e}})}(t,null!==(s=e.sessions)&&void 0!==s?s:[])}),b(!1)}).catch(()=>{b(!0)}).finally(()=>{(null==e?void 0:e.withLoading)&&N(!1)})},[v.q,v.from,v.to]),P=(0,r.useCallback)(e=>{if(!m){p(null),C(!1);return}(null==e?void 0:e.withLoading)&&S(!0),(0,a.aA)("/api/recordings/".concat(encodeURIComponent(m))).then(e=>{p(e),C(!1)}).catch(()=>{p(null),C(!0)}).finally(()=>{(null==e?void 0:e.withLoading)&&S(!1)})},[m]);(0,r.useEffect)(()=>{T({withLoading:!0})},[T]),(0,r.useEffect)(()=>{let e=setInterval(()=>T({withLoading:!1}),1e4);return()=>clearInterval(e)},[T]),(0,r.useEffect)(()=>{P({withLoading:!0})},[P]),(0,r.useEffect)(()=>{let e=setInterval(()=>P({withLoading:!1}),1e4);return()=>clearInterval(e)},[P]);let R=f?(0,n.jsxs)("div",{className:"flex h-full items-center justify-center gap-2 text-red-500",children:["加载失败",(0,n.jsx)("button",{type:"button",onClick:()=>T({withLoading:!0}),className:"text-blue-500 hover:underline",children:"重试"})]}):(0,n.jsx)(E,{sessions:h,selectedId:m,onSelect:e=>A({sessionId:e}),loading:j}),U=m?w?(0,n.jsx)("div",{className:"flex h-full items-center justify-center text-gray-400",children:"加载中…"}):I?(0,n.jsxs)("div",{className:"flex h-full items-center justify-center gap-2 text-red-500",children:["加载失败",(0,n.jsx)("button",{type:"button",onClick:()=>P({withLoading:!0}),className:"text-blue-500 hover:underline",children:"重试"})]}):y?(0,n.jsx)(k,{data:{sessionId:y.sessionId,eventCount:y.eventCount,sourceUrl:null!==(d=null===(e=h.find(e=>e.sessionId===m))||void 0===e?void 0:e.sourceUrl)&&void 0!==d?d:null,startedAt:(null===(t=y.events[0])||void 0===t?void 0:t.createdAt)||"",lastEventAt:(null===(s=y.events[y.events.length-1])||void 0===s?void 0:s.createdAt)||"",events:y.events}}):(0,n.jsx)("div",{className:"flex h-full items-center justify-center text-red-500",children:"未找到该录制会话"}):(0,n.jsx)("div",{className:"flex h-full items-center justify-center text-gray-400",children:"请在左侧选择一个录制会话查看详情"});return(0,n.jsx)(o.m,{filterBar:(0,n.jsx)(i.f,{value:v,onChange:e=>A({filters:e})}),listPanel:R,detailPanel:U})}function T(){return(0,n.jsx)(r.Suspense,{fallback:(0,n.jsx)("div",{className:"p-6 text-gray-500",children:"加载中…"}),children:(0,n.jsx)(A,{})})}},37202:function(e,t,s){"use strict";s.d(t,{f:function(){return l}});var n=s(72835),r=s(60635);function l(e){let{value:t,showStatus:s,statusOptions:l,onChange:a}=e,[i,o]=(0,r.useState)(t);return(0,r.useEffect)(()=>{o(t)},[t.q,t.status,t.from,t.to]),(0,r.useEffect)(()=>{let e=setTimeout(()=>{(i.q!==t.q||i.status!==t.status||i.from!==t.from||i.to!==t.to)&&a(i)},300);return()=>clearTimeout(e)},[i.q,i.status,i.from,i.to]),(0,n.jsxs)("div",{className:"space-y-2 border-b border-gray-200 bg-white p-3",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsxs)("div",{className:"relative flex-1",children:[(0,n.jsx)("input",{type:"text",value:i.q,onChange:e=>o(t=>({...t,q:e.target.value})),placeholder:"搜索关键词...",className:"w-full rounded border border-gray-300 px-2 py-1.5 pr-8 text-sm outline-none focus:border-blue-500"}),(0,n.jsx)("button",{type:"button",onClick:()=>a({q:"",status:"",from:"",to:""}),title:"重置筛选",className:"absolute right-1 top-1/2 -translate-y-1/2 rounded p-1 text-gray-400 hover:bg-gray-100 hover:text-gray-600 disabled:opacity-30",disabled:!i.q&&!i.status&&!i.from&&!i.to,children:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4",viewBox:"0 0 20 20",fill:"currentColor",children:(0,n.jsx)("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})})})]}),s?(0,n.jsxs)("select",{value:i.status,onChange:e=>o(t=>({...t,status:e.target.value})),className:"rounded border border-gray-300 px-2 py-1.5 text-sm outline-none focus:border-blue-500",children:[(0,n.jsx)("option",{value:"",children:"全部状态"}),(l||[]).map(e=>(0,n.jsx)("option",{value:e.value,children:e.label},e.value))]}):null]}),(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("input",{type:"date",value:i.from,onChange:e=>o(t=>({...t,from:e.target.value})),className:"rounded border border-gray-300 px-2 py-1.5 text-sm outline-none focus:border-blue-500"}),(0,n.jsx)("span",{className:"text-sm text-gray-400",children:"-"}),(0,n.jsx)("input",{type:"date",value:i.to,onChange:e=>o(t=>({...t,to:e.target.value})),className:"rounded border border-gray-300 px-2 py-1.5 text-sm outline-none focus:border-blue-500"})]})]})}},94518:function(e,t,s){"use strict";s.d(t,{m:function(){return r}});var n=s(72835);function r(e){let{filterBar:t,listPanel:s,detailPanel:r}=e;return(0,n.jsxs)("div",{className:"flex h-full",children:[(0,n.jsxs)("div",{className:"flex w-80 flex-col border-r border-gray-200 bg-white",children:[t,s]}),(0,n.jsx)("div",{className:"flex-1 overflow-auto bg-gray-50 p-6",children:r})]})}},63718:function(e,t,s){"use strict";s.d(t,{L:function(){return l}});var n=s(72835),r=s(60635);function l(e){let{items:t,selectedId:s,onSelect:l,loading:a,emptyText:i="暂无数据",onLoadMore:o,loadingMore:d,exhausted:c}=e,u=(0,r.useRef)(null);return(0,r.useEffect)(()=>{if(!o)return;let e=u.current;if(!e)return;let t=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&o()},{root:e.closest(".overflow-auto"),rootMargin:"200px"});return t.observe(e),()=>t.disconnect()},[o]),(0,n.jsxs)("div",{className:"flex-1 overflow-auto",children:[a?(0,n.jsx)("div",{className:"p-4 text-center text-sm text-gray-400",children:"加载中…"}):0===t.length?(0,n.jsx)("div",{className:"p-4 text-center text-sm text-gray-400",children:i}):(0,n.jsx)("ul",{className:"divide-y divide-gray-100",children:t.map(e=>(0,n.jsx)("li",{role:"button",tabIndex:0,onClick:()=>l(e.id),onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&l(e.id)},className:"cursor-pointer px-3 py-2 text-sm transition-colors ".concat(s===e.id?"bg-blue-50":"hover:bg-gray-50"),children:e.content},e.id))}),o&&!a&&t.length>0&&(0,n.jsx)("div",{ref:u,className:"p-3 text-center text-xs text-gray-400",children:d?"加载更多…":c?"没有更多了":""})]})}},8448:function(e,t,s){"use strict";function n(e){return e?("string"==typeof e?new Date(e):e).toLocaleString("zh-CN",{hour12:!1}):""}s.d(t,{d3:function(){return n}})},74431:function(e,t,s){"use strict";s.d(t,{Ox:function(){return l},aA:function(){return o}});var n=s(67002),r=s(60529);function l(){return r.env.HUNTER_MATE_SERVER_URL||""}let a=l();class i extends Error{constructor(e,t,s){super(null!=s?s:"请求失败(".concat(e,")").concat(t?": ".concat(t):"")),this.status=e,this.path=t,this.name="HttpError"}}async function o(e,t){let s;try{s=await fetch("".concat(a).concat(e),{cache:"no-store",...function(e){let t=(0,n.Xc)();if(!t)return e;let s=new Headers(null==e?void 0:e.headers);return s.has("Authorization")||s.set("Authorization","UTOKEN ".concat(t)),{...e,headers:s}}(t)})}catch(t){throw new i(0,e,t instanceof Error?t.message:"网络错误")}if(!s.ok)throw new i(s.status,e,"HTTP ".concat(s.status));try{return await s.json()}catch(t){throw new i(s.status,e,t instanceof Error?"响应解析失败: ".concat(t.message):"响应解析失败")}}},67002:function(e,t,s){"use strict";s.d(t,{GK:function(){return a},Lc:function(){return i},Xc:function(){return l}});let n=null,r=new Set;function l(){return n}function a(e){e!==n&&(n=e,r.forEach(e=>e()))}function i(e){return r.add(e),()=>{r.delete(e)}}}},function(e){e.O(0,[400,935,744],function(){return e(e.s=71428)}),_N_E=e.O()}]);
|