six-degrees 0.2.0 → 0.2.1
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/.next/standalone/.next/BUILD_ID +1 -1
- package/.next/standalone/.next/build-manifest.json +3 -3
- package/.next/standalone/.next/prerender-manifest.json +11 -11
- package/.next/standalone/.next/server/app/_global-error.html +1 -1
- package/.next/standalone/.next/server/app/_global-error.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_not-found.html +1 -1
- package/.next/standalone/.next/server/app/_not-found.rsc +11 -11
- package/.next/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +11 -11
- package/.next/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +9 -9
- package/.next/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/api/admin-delete/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/admin-update/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/bridges/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/bulk-import/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/company-scores/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/connections/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/delete-cluster/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/ingest/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/network/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/notifications/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/outreach/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/queue/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/scraper/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/setup-profile/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/unlock/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/update/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/update-images/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/users/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/avatars/[file]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/import/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/import/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/import.html +1 -1
- package/.next/standalone/.next/server/app/import.rsc +13 -13
- package/.next/standalone/.next/server/app/import.segments/_full.segment.rsc +13 -13
- package/.next/standalone/.next/server/app/import.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/import.segments/import/__PAGE__.segment.rsc +11 -11
- package/.next/standalone/.next/server/app/index.html +1 -1
- package/.next/standalone/.next/server/app/index.rsc +13 -13
- package/.next/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +11 -11
- package/.next/standalone/.next/server/app/index.segments/_full.segment.rsc +13 -13
- package/.next/standalone/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/launch/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/launch/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/launch.html +2 -2
- package/.next/standalone/.next/server/app/launch.rsc +13 -13
- package/.next/standalone/.next/server/app/launch.segments/_full.segment.rsc +13 -13
- package/.next/standalone/.next/server/app/launch.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/launch.segments/launch/__PAGE__.segment.rsc +11 -11
- package/.next/standalone/.next/server/app/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/paths/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/paths/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/paths.html +1 -1
- package/.next/standalone/.next/server/app/paths.rsc +13 -13
- package/.next/standalone/.next/server/app/paths.segments/_full.segment.rsc +13 -13
- package/.next/standalone/.next/server/app/paths.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/paths.segments/paths/__PAGE__.segment.rsc +11 -11
- package/.next/standalone/.next/server/app/profile/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/profile/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/profile.html +1 -1
- package/.next/standalone/.next/server/app/profile.rsc +13 -13
- package/.next/standalone/.next/server/app/profile.segments/_full.segment.rsc +13 -13
- package/.next/standalone/.next/server/app/profile.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/profile.segments/profile/__PAGE__.segment.rsc +11 -11
- package/.next/standalone/.next/server/app/queue/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/queue/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/queue.html +1 -1
- package/.next/standalone/.next/server/app/queue.rsc +13 -13
- package/.next/standalone/.next/server/app/queue.segments/_full.segment.rsc +13 -13
- package/.next/standalone/.next/server/app/queue.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/queue.segments/queue/__PAGE__.segment.rsc +11 -11
- package/.next/standalone/.next/server/app/setup/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/setup/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/setup.html +1 -1
- package/.next/standalone/.next/server/app/setup.rsc +13 -13
- package/.next/standalone/.next/server/app/setup.segments/_full.segment.rsc +13 -13
- package/.next/standalone/.next/server/app/setup.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/setup.segments/setup/__PAGE__.segment.rsc +11 -11
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0jrmmj-._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0qx548g._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1an3leo._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1m8zedk._.js +1 -1
- package/.next/standalone/.next/server/chunks/_1_fynia._.js +2 -2
- package/.next/standalone/.next/server/chunks/_1itd1o_._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0h1_f_2._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_0bf3x4q._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_17gui6a._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_1djpk8t._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/app_import_page_1fmu6_l.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/app_page_1fazqbf.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/app_paths_page_1ol90m7.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/app_profile_page_0u3-l5y.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/app_setup_page_1-282zx.js +2 -2
- package/.next/standalone/.next/server/chunks/ssr/lib_0i8v-s3._.js +1 -1
- package/.next/standalone/.next/server/middleware-build-manifest.js +3 -3
- package/.next/standalone/.next/server/middleware-manifest.json +5 -5
- package/.next/standalone/.next/server/pages/404.html +1 -1
- package/.next/standalone/.next/server/pages/500.html +1 -1
- package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
- package/.next/standalone/.next/static/chunks/0jk64vo17avsb.js +1 -0
- package/.next/standalone/.next/static/chunks/0s65dsrthylo6.js +2 -0
- package/.next/standalone/.next/static/chunks/0uyfdhi8dek85.js +16 -0
- package/.next/standalone/.next/static/chunks/{1zmpcmngg5c7-.js → 229haorf0f19b.js} +1 -1
- package/.next/{static/chunks/3ts-_4i6bfkh2.js → standalone/.next/static/chunks/2g54uafnwuakc.js} +1 -1
- package/.next/standalone/.next/static/chunks/2ot61qsv6_0eq.js +1 -0
- package/.next/{static/chunks/3pfyuezyqd9ob.js → standalone/.next/static/chunks/2spwqs6b6dx13.js} +1 -1
- package/.next/{static/chunks/1odow92u6wxz0.js → standalone/.next/static/chunks/38dlepuubiox0.js} +1 -1
- package/.next/standalone/AGENTS.md +10 -0
- package/.next/standalone/CHANGELOG.md +41 -0
- package/.next/standalone/CONTRIBUTING.md +9 -0
- package/.next/standalone/README.md +49 -29
- package/.next/standalone/SECURITY.md +12 -9
- package/.next/standalone/app/api/scraper/route.js +4 -3
- package/.next/standalone/app/api/update/route.js +10 -2
- package/.next/standalone/app/components/ForceGraph.js +1 -1
- package/.next/standalone/app/components/Sidebar.js +8 -8
- package/.next/standalone/app/components/UpdatePanel.js +39 -8
- package/.next/standalone/app/import/page.js +3 -3
- package/.next/standalone/app/layout.js +2 -2
- package/.next/standalone/app/page.js +2 -2
- package/.next/standalone/app/paths/page.js +1 -1
- package/.next/standalone/app/profile/page.js +0 -178
- package/.next/standalone/app/setup/page.js +4 -4
- package/.next/standalone/bin/six-degrees.mjs +7 -2
- package/.next/standalone/install.sh +1 -1
- package/.next/standalone/lib/csv.js +53 -27
- package/.next/standalone/lib/release.js +5 -2
- package/.next/standalone/lib/scraper-client.js +3 -3
- package/.next/standalone/package-lock.json +103 -9
- package/.next/standalone/package.json +12 -10
- package/.next/standalone/public/demo-data.json +1 -1
- package/.next/standalone/scripts/gen-synthetic.mjs +16 -1
- package/.next/standalone/scripts/readme_buttons.py +89 -0
- package/.next/standalone/scripts/screenshots.py +2 -0
- package/.next/standalone/site/app.js +84 -0
- package/.next/standalone/site/index.html +221 -0
- package/.next/standalone/site/style.css +155 -0
- package/.next/standalone/site/video/install-mac-poster.jpg +0 -0
- package/.next/standalone/site/video/install-mac.mp4 +0 -0
- package/.next/standalone/site/video/linux-poster.jpg +0 -0
- package/.next/standalone/site/video/linux.mp4 +0 -0
- package/.next/standalone/site/video/scan-poster.jpg +0 -0
- package/.next/standalone/site/video/scan.mp4 +0 -0
- package/.next/static/chunks/0jk64vo17avsb.js +1 -0
- package/.next/static/chunks/0s65dsrthylo6.js +2 -0
- package/.next/static/chunks/0uyfdhi8dek85.js +16 -0
- package/.next/static/chunks/{1zmpcmngg5c7-.js → 229haorf0f19b.js} +1 -1
- package/.next/{standalone/.next/static/chunks/3ts-_4i6bfkh2.js → static/chunks/2g54uafnwuakc.js} +1 -1
- package/.next/static/chunks/2ot61qsv6_0eq.js +1 -0
- package/.next/{standalone/.next/static/chunks/3pfyuezyqd9ob.js → static/chunks/2spwqs6b6dx13.js} +1 -1
- package/.next/{standalone/.next/static/chunks/1odow92u6wxz0.js → static/chunks/38dlepuubiox0.js} +1 -1
- package/CHANGELOG.md +41 -0
- package/README.md +49 -29
- package/SECURITY.md +12 -9
- package/bin/six-degrees.mjs +7 -2
- package/lib/csv.js +53 -27
- package/lib/release.js +5 -2
- package/lib/scraper-client.js +3 -3
- package/package.json +12 -10
- package/public/demo-data.json +1 -1
- package/.next/standalone/.next/static/chunks/1wb_is4wsdm-u.js +0 -1
- package/.next/standalone/.next/static/chunks/2rrf5kzx2fhin.js +0 -2
- package/.next/standalone/.next/static/chunks/2s_k9x4d0gi9h.js +0 -16
- package/.next/standalone/.next/static/chunks/3hsi90cejq2dg.js +0 -1
- package/.next/static/chunks/1wb_is4wsdm-u.js +0 -1
- package/.next/static/chunks/2rrf5kzx2fhin.js +0 -2
- package/.next/static/chunks/2s_k9x4d0gi9h.js +0 -16
- package/.next/static/chunks/3hsi90cejq2dg.js +0 -1
- /package/.next/standalone/.next/static/{N9wokeIiC9rUIGmzBhj6T → ZGTiDrZ5NHGETgGdlhssu}/_buildManifest.js +0 -0
- /package/.next/standalone/.next/static/{N9wokeIiC9rUIGmzBhj6T → ZGTiDrZ5NHGETgGdlhssu}/_clientMiddlewareManifest.js +0 -0
- /package/.next/standalone/.next/static/{N9wokeIiC9rUIGmzBhj6T → ZGTiDrZ5NHGETgGdlhssu}/_ssgManifest.js +0 -0
- /package/.next/static/{N9wokeIiC9rUIGmzBhj6T → ZGTiDrZ5NHGETgGdlhssu}/_buildManifest.js +0 -0
- /package/.next/static/{N9wokeIiC9rUIGmzBhj6T → ZGTiDrZ5NHGETgGdlhssu}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{N9wokeIiC9rUIGmzBhj6T → ZGTiDrZ5NHGETgGdlhssu}/_ssgManifest.js +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {};
|
|
2
|
-
globalThis.__RSC_MANIFEST["/setup/page"] = {"moduleLoading":{"prefix":""},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39756,"name":"*","chunks":["/_next/static/chunks/
|
|
2
|
+
globalThis.__RSC_MANIFEST["/setup/page"] = {"moduleLoading":{"prefix":""},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39756,"name":"*","chunks":["/_next/static/chunks/2spwqs6b6dx13.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":37457,"name":"*","chunks":["/_next/static/chunks/2spwqs6b6dx13.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":47257,"name":"*","chunks":["/_next/static/chunks/2spwqs6b6dx13.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/2spwqs6b6dx13.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":68017,"name":"*","chunks":["/_next/static/chunks/2spwqs6b6dx13.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":97367,"name":"*","chunks":["/_next/static/chunks/2spwqs6b6dx13.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/2spwqs6b6dx13.js"],"async":false},"[project]/app/components/UserProvider.js":{"id":15812,"name":"*","chunks":["/_next/static/chunks/2spwqs6b6dx13.js"],"async":false},"[project]/app/components/StaleServerBanner.js":{"id":37711,"name":"*","chunks":["/_next/static/chunks/2spwqs6b6dx13.js"],"async":false},"[project]/node_modules/next/dist/client/components/builtin/global-error.js":{"id":68027,"name":"*","chunks":["/_next/static/chunks/2spwqs6b6dx13.js"],"async":false},"[project]/app/setup/page.js":{"id":68863,"name":"*","chunks":["/_next/static/chunks/2spwqs6b6dx13.js","/_next/static/chunks/0s65dsrthylo6.js"],"async":false}},"ssrModuleMapping":{"39756":{"*":{"id":2420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0bipr5s._.js","server/chunks/ssr/node_modules_next_dist_00nap8h._.js","server/chunks/ssr/lib_0i8v-s3._.js"],"async":false}},"37457":{"*":{"id":24017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0bipr5s._.js","server/chunks/ssr/node_modules_next_dist_00nap8h._.js","server/chunks/ssr/lib_0i8v-s3._.js"],"async":false}},"47257":{"*":{"id":77682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0bipr5s._.js","server/chunks/ssr/node_modules_next_dist_00nap8h._.js","server/chunks/ssr/lib_0i8v-s3._.js"],"async":false}},"92825":{"*":{"id":97296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0bipr5s._.js","server/chunks/ssr/node_modules_next_dist_00nap8h._.js","server/chunks/ssr/lib_0i8v-s3._.js"],"async":false}},"68017":{"*":{"id":61660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0bipr5s._.js","server/chunks/ssr/node_modules_next_dist_00nap8h._.js","server/chunks/ssr/lib_0i8v-s3._.js"],"async":false}},"97367":{"*":{"id":90574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0bipr5s._.js","server/chunks/ssr/node_modules_next_dist_00nap8h._.js","server/chunks/ssr/lib_0i8v-s3._.js"],"async":false}},"27201":{"*":{"id":60704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0bipr5s._.js","server/chunks/ssr/node_modules_next_dist_00nap8h._.js","server/chunks/ssr/lib_0i8v-s3._.js"],"async":false}},"15812":{"*":{"id":75857,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0bipr5s._.js","server/chunks/ssr/node_modules_next_dist_00nap8h._.js","server/chunks/ssr/lib_0i8v-s3._.js"],"async":false}},"37711":{"*":{"id":17372,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0bipr5s._.js","server/chunks/ssr/node_modules_next_dist_00nap8h._.js","server/chunks/ssr/lib_0i8v-s3._.js"],"async":false}},"68027":{"*":{"id":40622,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0bipr5s._.js","server/chunks/ssr/node_modules_next_dist_00nap8h._.js","server/chunks/ssr/lib_0i8v-s3._.js","server/chunks/ssr/node_modules_01xbj_9._.js"],"async":false}},"68863":{"*":{"id":65375,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0bipr5s._.js","server/chunks/ssr/node_modules_next_dist_00nap8h._.js","server/chunks/ssr/lib_0i8v-s3._.js","server/chunks/ssr/_17gui6a._.js","server/chunks/ssr/node_modules_1nkgb45._.js","server/chunks/ssr/app_setup_page_1-282zx.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"39756":{"*":{"id":26768,"name":"*","chunks":[],"async":false}},"37457":{"*":{"id":13778,"name":"*","chunks":[],"async":false}},"47257":{"*":{"id":92977,"name":"*","chunks":[],"async":false}},"92825":{"*":{"id":48552,"name":"*","chunks":[],"async":false}},"68017":{"*":{"id":83919,"name":"*","chunks":[],"async":false}},"97367":{"*":{"id":24150,"name":"*","chunks":[],"async":false}},"27201":{"*":{"id":33249,"name":"*","chunks":[],"async":false}},"15812":{"*":{"id":69067,"name":"*","chunks":[],"async":false}},"37711":{"*":{"id":61143,"name":"*","chunks":[],"async":false}},"68027":{"*":{"id":82509,"name":"*","chunks":[],"async":false}},"68863":{"*":{"id":57910,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/app/layout":[{"path":"static/chunks/40nvbgfn7-072.css","inlined":false}],"[project]/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/40nvbgfn7-072.css","inlined":false}],"[project]/app/setup/page":[{"path":"static/chunks/40nvbgfn7-072.css","inlined":false}]},"entryJSFiles":{"[project]/app/layout":["static/chunks/2spwqs6b6dx13.js"],"[project]/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/2spwqs6b6dx13.js"],"[project]/app/setup/page":["static/chunks/2spwqs6b6dx13.js","static/chunks/0s65dsrthylo6.js"]}};
|
|
3
3
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en" class="geist_2ae47f08-module__h69qWW__variable geist_mono_eb58308d-module__w_p2Lq__variable"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/chunks/40nvbgfn7-072.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/310vm2bl3xxpt.js"/><script src="/_next/static/chunks/19mx3mg6lkumu.js" async=""></script><script src="/_next/static/chunks/0bma92pht_c97.js" async=""></script><script src="/_next/static/chunks/2-rtuqsgzmno4.js" async=""></script><script src="/_next/static/chunks/turbopack-43vu1xwipchft.js" async=""></script><script src="/_next/static/chunks/
|
|
1
|
+
<!DOCTYPE html><html lang="en" class="geist_2ae47f08-module__h69qWW__variable geist_mono_eb58308d-module__w_p2Lq__variable"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/chunks/40nvbgfn7-072.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/310vm2bl3xxpt.js"/><script src="/_next/static/chunks/19mx3mg6lkumu.js" async=""></script><script src="/_next/static/chunks/0bma92pht_c97.js" async=""></script><script src="/_next/static/chunks/2-rtuqsgzmno4.js" async=""></script><script src="/_next/static/chunks/turbopack-43vu1xwipchft.js" async=""></script><script src="/_next/static/chunks/2spwqs6b6dx13.js" async=""></script><script src="/_next/static/chunks/0s65dsrthylo6.js" async=""></script><title>Six Degrees</title><meta name="description" content="Maps your LinkedIn network: who you know, who they know, and the shortest path to someone you haven't met. Runs on your own computer; nothing is uploaded."/><link rel="icon" href="/favicon.ico?favicon.2vob68tjqpejf.ico" sizes="256x256" type="image/x-icon"/><meta name="next-size-adjust" content=""/><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body style="margin:0;padding:0;background:#0a0a1a"><div hidden=""><!--$--><!--/$--></div><div style="min-height:100vh;display:flex;align-items:center;justify-content:center;background:#0a0a1a;color:#fff;padding:24px;text-align:center;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif"><div style="font-size:18px;font-weight:600">Loading…</div></div><!--$--><!--/$--><script src="/_next/static/chunks/310vm2bl3xxpt.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[15812,[\"/_next/static/chunks/2spwqs6b6dx13.js\"],\"default\"]\n3:I[39756,[\"/_next/static/chunks/2spwqs6b6dx13.js\"],\"default\"]\n4:I[37457,[\"/_next/static/chunks/2spwqs6b6dx13.js\"],\"default\"]\n5:I[37711,[\"/_next/static/chunks/2spwqs6b6dx13.js\"],\"default\"]\n6:I[47257,[\"/_next/static/chunks/2spwqs6b6dx13.js\"],\"ClientPageRoot\"]\n7:I[68863,[\"/_next/static/chunks/2spwqs6b6dx13.js\",\"/_next/static/chunks/0s65dsrthylo6.js\"],\"default\"]\na:I[97367,[\"/_next/static/chunks/2spwqs6b6dx13.js\"],\"OutletBoundary\"]\nb:\"$Sreact.suspense\"\ne:I[97367,[\"/_next/static/chunks/2spwqs6b6dx13.js\"],\"ViewportBoundary\"]\n10:I[97367,[\"/_next/static/chunks/2spwqs6b6dx13.js\"],\"MetadataBoundary\"]\n12:I[68027,[\"/_next/static/chunks/2spwqs6b6dx13.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/40nvbgfn7-072.css\",\"style\"]\n:HL[\"/_next/static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\nd:X\n0:{\"P\":null,\"c\":[\"\",\"setup\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"setup\",{\"children\":[\"__PAGE__\",{},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4624],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/40nvbgfn7-072.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2spwqs6b6dx13.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"geist_2ae47f08-module__h69qWW__variable geist_mono_eb58308d-module__w_p2Lq__variable\",\"children\":[\"$\",\"body\",null,{\"style\":{\"margin\":0,\"padding\":0,\"background\":\"#0a0a1a\"},\"children\":[\"$\",\"$L2\",null,{\"children\":[[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"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.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}],[\"$\",\"$L5\",null,{}]]}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L6\",null,{\"Component\":\"$7\",\"serverProvidedParams\":{\"searchParams\":{},\"params\":{},\"promises\":[\"$@8\",\"$@9\"]}}],[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/0s65dsrthylo6.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$La\",null,{\"children\":[\"$\",\"$b\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@c\"}]}]]}],{},null,false,null]},null,false,\"$d\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$Le\",null,{\"children\":\"$Lf\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L10\",null,{\"children\":[\"$\",\"$b\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L11\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$12\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/40nvbgfn7-072.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"ZGTiDrZ5NHGETgGdlhssu\"}\nd:C\n8:{}\n9:\"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params\"\nf:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n13:I[27201,[\"/_next/static/chunks/2spwqs6b6dx13.js\"],\"IconMark\"]\nc:null\n11:[[\"$\",\"title\",\"0\",{\"children\":\"Six Degrees\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Maps your LinkedIn network: who you know, who they know, and the shortest path to someone you haven't met. Runs on your own computer; nothing is uploaded.\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.2vob68tjqpejf.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"$L13\",\"3\",{}]]\n"])</script></body></html>
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
|
-
2:I[15812,["/_next/static/chunks/
|
|
3
|
-
3:I[39756,["/_next/static/chunks/
|
|
4
|
-
4:I[37457,["/_next/static/chunks/
|
|
5
|
-
5:I[37711,["/_next/static/chunks/
|
|
6
|
-
6:I[47257,["/_next/static/chunks/
|
|
7
|
-
7:I[68863,["/_next/static/chunks/
|
|
8
|
-
a:I[97367,["/_next/static/chunks/
|
|
2
|
+
2:I[15812,["/_next/static/chunks/2spwqs6b6dx13.js"],"default"]
|
|
3
|
+
3:I[39756,["/_next/static/chunks/2spwqs6b6dx13.js"],"default"]
|
|
4
|
+
4:I[37457,["/_next/static/chunks/2spwqs6b6dx13.js"],"default"]
|
|
5
|
+
5:I[37711,["/_next/static/chunks/2spwqs6b6dx13.js"],"default"]
|
|
6
|
+
6:I[47257,["/_next/static/chunks/2spwqs6b6dx13.js"],"ClientPageRoot"]
|
|
7
|
+
7:I[68863,["/_next/static/chunks/2spwqs6b6dx13.js","/_next/static/chunks/0s65dsrthylo6.js"],"default"]
|
|
8
|
+
a:I[97367,["/_next/static/chunks/2spwqs6b6dx13.js"],"OutletBoundary"]
|
|
9
9
|
b:"$Sreact.suspense"
|
|
10
|
-
e:I[97367,["/_next/static/chunks/
|
|
11
|
-
10:I[97367,["/_next/static/chunks/
|
|
12
|
-
12:I[68027,["/_next/static/chunks/
|
|
10
|
+
e:I[97367,["/_next/static/chunks/2spwqs6b6dx13.js"],"ViewportBoundary"]
|
|
11
|
+
10:I[97367,["/_next/static/chunks/2spwqs6b6dx13.js"],"MetadataBoundary"]
|
|
12
|
+
12:I[68027,["/_next/static/chunks/2spwqs6b6dx13.js"],"default",1]
|
|
13
13
|
:HL["/_next/static/chunks/40nvbgfn7-072.css","style"]
|
|
14
14
|
:HL["/_next/static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
15
15
|
:HL["/_next/static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
16
16
|
d:X
|
|
17
|
-
0:{"P":null,"c":["","setup"],"q":"","i":false,"f":[[["",{"children":["setup",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/40nvbgfn7-072.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/
|
|
17
|
+
0:{"P":null,"c":["","setup"],"q":"","i":false,"f":[[["",{"children":["setup",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/40nvbgfn7-072.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/2spwqs6b6dx13.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"geist_2ae47f08-module__h69qWW__variable geist_mono_eb58308d-module__w_p2Lq__variable","children":["$","body",null,{"style":{"margin":0,"padding":0,"background":"#0a0a1a"},"children":["$","$L2",null,{"children":[["$","$L3",null,{"parallelRouterKey":"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."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$L5",null,{}]]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L6",null,{"Component":"$7","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@8","$@9"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/0s65dsrthylo6.js","async":true,"nonce":"$undefined"}]],["$","$La",null,{"children":["$","$b",null,{"name":"Next.MetadataOutlet","children":"$@c"}]}]]}],{},null,false,null]},null,false,"$d"]},null,false,null],["$","$1","h",{"children":[null,["$","$Le",null,{"children":"$Lf"}],["$","div",null,{"hidden":true,"children":["$","$L10",null,{"children":["$","$b",null,{"name":"Next.Metadata","children":"$L11"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$12",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/40nvbgfn7-072.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"ZGTiDrZ5NHGETgGdlhssu"}
|
|
18
18
|
d:C
|
|
19
19
|
8:{}
|
|
20
20
|
9:"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params"
|
|
21
21
|
f:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
|
22
|
-
13:I[27201,["/_next/static/chunks/
|
|
22
|
+
13:I[27201,["/_next/static/chunks/2spwqs6b6dx13.js"],"IconMark"]
|
|
23
23
|
c:null
|
|
24
|
-
11:[["$","title","0",{"children":"
|
|
24
|
+
11:[["$","title","0",{"children":"Six Degrees"}],["$","meta","1",{"name":"description","content":"Maps your LinkedIn network: who you know, who they know, and the shortest path to someone you haven't met. Runs on your own computer; nothing is uploaded."}],["$","link","2",{"rel":"icon","href":"/favicon.ico?favicon.2vob68tjqpejf.ico","sizes":"256x256","type":"image/x-icon"}],["$","$L13","3",{}]]
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
|
-
2:I[15812,["/_next/static/chunks/
|
|
3
|
-
3:I[39756,["/_next/static/chunks/
|
|
4
|
-
4:I[37457,["/_next/static/chunks/
|
|
5
|
-
5:I[37711,["/_next/static/chunks/
|
|
6
|
-
6:I[47257,["/_next/static/chunks/
|
|
7
|
-
7:I[68863,["/_next/static/chunks/
|
|
8
|
-
a:I[97367,["/_next/static/chunks/
|
|
2
|
+
2:I[15812,["/_next/static/chunks/2spwqs6b6dx13.js"],"default"]
|
|
3
|
+
3:I[39756,["/_next/static/chunks/2spwqs6b6dx13.js"],"default"]
|
|
4
|
+
4:I[37457,["/_next/static/chunks/2spwqs6b6dx13.js"],"default"]
|
|
5
|
+
5:I[37711,["/_next/static/chunks/2spwqs6b6dx13.js"],"default"]
|
|
6
|
+
6:I[47257,["/_next/static/chunks/2spwqs6b6dx13.js"],"ClientPageRoot"]
|
|
7
|
+
7:I[68863,["/_next/static/chunks/2spwqs6b6dx13.js","/_next/static/chunks/0s65dsrthylo6.js"],"default"]
|
|
8
|
+
a:I[97367,["/_next/static/chunks/2spwqs6b6dx13.js"],"OutletBoundary"]
|
|
9
9
|
b:"$Sreact.suspense"
|
|
10
|
-
e:I[97367,["/_next/static/chunks/
|
|
11
|
-
10:I[97367,["/_next/static/chunks/
|
|
12
|
-
12:I[68027,["/_next/static/chunks/
|
|
10
|
+
e:I[97367,["/_next/static/chunks/2spwqs6b6dx13.js"],"ViewportBoundary"]
|
|
11
|
+
10:I[97367,["/_next/static/chunks/2spwqs6b6dx13.js"],"MetadataBoundary"]
|
|
12
|
+
12:I[68027,["/_next/static/chunks/2spwqs6b6dx13.js"],"default",1]
|
|
13
13
|
:HL["/_next/static/chunks/40nvbgfn7-072.css","style"]
|
|
14
14
|
:HL["/_next/static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
15
15
|
:HL["/_next/static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
16
16
|
d:X
|
|
17
|
-
0:{"P":null,"c":["","setup"],"q":"","i":false,"f":[[["",{"children":["setup",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/40nvbgfn7-072.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/
|
|
17
|
+
0:{"P":null,"c":["","setup"],"q":"","i":false,"f":[[["",{"children":["setup",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/40nvbgfn7-072.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/2spwqs6b6dx13.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"geist_2ae47f08-module__h69qWW__variable geist_mono_eb58308d-module__w_p2Lq__variable","children":["$","body",null,{"style":{"margin":0,"padding":0,"background":"#0a0a1a"},"children":["$","$L2",null,{"children":[["$","$L3",null,{"parallelRouterKey":"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."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$L5",null,{}]]}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[["$","$L6",null,{"Component":"$7","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@8","$@9"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/0s65dsrthylo6.js","async":true,"nonce":"$undefined"}]],["$","$La",null,{"children":["$","$b",null,{"name":"Next.MetadataOutlet","children":"$@c"}]}]]}],{},null,false,null]},null,false,"$d"]},null,false,null],["$","$1","h",{"children":[null,["$","$Le",null,{"children":"$Lf"}],["$","div",null,{"hidden":true,"children":["$","$L10",null,{"children":["$","$b",null,{"name":"Next.Metadata","children":"$L11"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$12",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/40nvbgfn7-072.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"ZGTiDrZ5NHGETgGdlhssu"}
|
|
18
18
|
d:C
|
|
19
19
|
8:{}
|
|
20
20
|
9:"$0:f:0:1:1:children:1:children:0:props:children:0:props:serverProvidedParams:params"
|
|
21
21
|
f:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
|
22
|
-
13:I[27201,["/_next/static/chunks/
|
|
22
|
+
13:I[27201,["/_next/static/chunks/2spwqs6b6dx13.js"],"IconMark"]
|
|
23
23
|
c:null
|
|
24
|
-
11:[["$","title","0",{"children":"
|
|
24
|
+
11:[["$","title","0",{"children":"Six Degrees"}],["$","meta","1",{"name":"description","content":"Maps your LinkedIn network: who you know, who they know, and the shortest path to someone you haven't met. Runs on your own computer; nothing is uploaded."}],["$","link","2",{"rel":"icon","href":"/favicon.ico?favicon.2vob68tjqpejf.ico","sizes":"256x256","type":"image/x-icon"}],["$","$L13","3",{}]]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
:HL["/_next/static/chunks/40nvbgfn7-072.css","style"]
|
|
2
2
|
:HL["/_next/static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
3
3
|
:HL["/_next/static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
4
|
-
0:{"tree":{"name":"","param":null,"prefetchHints":4176,"slots":{"children":{"name":"setup","param":null,"prefetchHints":4192,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":4256,"slots":null}}}}},"staleTime":300,"buildId":"
|
|
4
|
+
0:{"tree":{"name":"","param":null,"prefetchHints":4176,"slots":{"children":{"name":"setup","param":null,"prefetchHints":4192,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":4256,"slots":null}}}}},"staleTime":300,"buildId":"ZGTiDrZ5NHGETgGdlhssu"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
|
-
2:I[47257,["/_next/static/chunks/
|
|
3
|
-
3:I[68863,["/_next/static/chunks/
|
|
4
|
-
6:I[97367,["/_next/static/chunks/
|
|
2
|
+
2:I[47257,["/_next/static/chunks/2spwqs6b6dx13.js"],"ClientPageRoot"]
|
|
3
|
+
3:I[68863,["/_next/static/chunks/2spwqs6b6dx13.js","/_next/static/chunks/0s65dsrthylo6.js"],"default"]
|
|
4
|
+
6:I[97367,["/_next/static/chunks/2spwqs6b6dx13.js"],"OutletBoundary"]
|
|
5
5
|
7:"$Sreact.suspense"
|
|
6
|
-
b:I[97367,["/_next/static/chunks/
|
|
7
|
-
c:I[97367,["/_next/static/chunks/
|
|
8
|
-
d:I[27201,["/_next/static/chunks/
|
|
9
|
-
f:I[39756,["/_next/static/chunks/
|
|
10
|
-
10:I[37457,["/_next/static/chunks/
|
|
11
|
-
13:I[15812,["/_next/static/chunks/
|
|
12
|
-
14:I[37711,["/_next/static/chunks/
|
|
6
|
+
b:I[97367,["/_next/static/chunks/2spwqs6b6dx13.js"],"ViewportBoundary"]
|
|
7
|
+
c:I[97367,["/_next/static/chunks/2spwqs6b6dx13.js"],"MetadataBoundary"]
|
|
8
|
+
d:I[27201,["/_next/static/chunks/2spwqs6b6dx13.js"],"IconMark"]
|
|
9
|
+
f:I[39756,["/_next/static/chunks/2spwqs6b6dx13.js"],"default"]
|
|
10
|
+
10:I[37457,["/_next/static/chunks/2spwqs6b6dx13.js"],"default"]
|
|
11
|
+
13:I[15812,["/_next/static/chunks/2spwqs6b6dx13.js"],"default"]
|
|
12
|
+
14:I[37711,["/_next/static/chunks/2spwqs6b6dx13.js"],"default"]
|
|
13
13
|
:HL["/_next/static/chunks/40nvbgfn7-072.css","style"]
|
|
14
14
|
a:X
|
|
15
15
|
12:X
|
|
16
16
|
12:C
|
|
17
|
-
0:{"buildId":"
|
|
17
|
+
0:{"buildId":"ZGTiDrZ5NHGETgGdlhssu","data":[{"rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/0s65dsrthylo6.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"isPartial":"$@9","staleTime":"$a","varyParams":null},{"rsc":["$","$1","h",{"children":[null,["$","$Lb",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$Lc",null,{"children":["$","$7",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Six Degrees"}],["$","meta","1",{"name":"description","content":"Maps your LinkedIn network: who you know, who they know, and the shortest path to someone you haven't met. Runs on your own computer; nothing is uploaded."}],["$","link","2",{"rel":"icon","href":"/favicon.ico?favicon.2vob68tjqpejf.ico","sizes":"256x256","type":"image/x-icon"}],["$","$Ld","3",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":"$@e","staleTime":"$a","varyParams":null},{"rsc":["$","$1","c",{"children":[null,["$","$Lf",null,{"parallelRouterKey":"children","template":["$","$L10",null,{}]}]]}],"isPartial":"$@11","staleTime":"$a","varyParams":"$12"},{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/40nvbgfn7-072.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/2spwqs6b6dx13.js","async":true}]],["$","html",null,{"lang":"en","className":"geist_2ae47f08-module__h69qWW__variable geist_mono_eb58308d-module__w_p2Lq__variable","children":["$","body",null,{"style":{"margin":0,"padding":0,"background":"#0a0a1a"},"children":["$","$L13",null,{"children":[["$","$Lf",null,{"parallelRouterKey":"children","template":["$","$L10",null,{}],"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."}]}]]}]}]],[]]}],["$","$L14",null,{}]]}]}]}]]}],"isPartial":"$@15","staleTime":"$a","varyParams":null}],"isUpgradeableISRFallback":false,"a":"$@16","rootVaryParams":null,"needsRuntimeRequest":"$@17"}
|
|
18
18
|
4:{}
|
|
19
19
|
5:"$0:data:0:rsc:props:children:0:props:serverProvidedParams:params"
|
|
20
20
|
8:null
|
|
@@ -144,7 +144,7 @@ CREATE TABLE IF NOT EXISTS user_profile (
|
|
|
144
144
|
created_at TEXT DEFAULT (datetime('now')),
|
|
145
145
|
updated_at TEXT DEFAULT (datetime('now'))
|
|
146
146
|
);
|
|
147
|
-
`,a="0.2.
|
|
147
|
+
`,a="0.2.1";function o(){let e=process.env.SIX_DEGREES_HOME||i.default.join((0,s.homedir)(),".six-degrees");return(0,r.existsSync)(e)||(0,r.mkdirSync)(e,{recursive:!0}),e}let l={users:["sectors","goals","company_prestige_config"],user_profile:["sectors","goals","company_prestige_config"],linkedin_connections:["influence_signals"],notifications:["data"],queue_items:[],user_stats:[]},T={linkedin_connections:["is_catalyst"],notifications:["seen"],users:[],user_profile:[],queue_items:[],user_stats:[]},c=null,d=[["linkedin_connections","score_why","TEXT"]],u="auto-before-";e.s(["dataDir",0,o,"decodeRow",0,function(e,t){if(!t)return t;let r={...t};for(let t of l[e]||[])if("string"==typeof r[t])try{r[t]=JSON.parse(r[t])}catch{}for(let t of T[e]||[])(0===r[t]||1===r[t])&&(r[t]=!!r[t]);return r},"encodeValue",0,function(e,t,r){return void 0===r?null:(l[e]||[]).includes(t)?null===r?null:JSON.stringify(r):(T[e]||[]).includes(t)?null===r?null:+!!r:"boolean"==typeof r?+!!r:null!==r&&"object"==typeof r?JSON.stringify(r):r},"getDb",0,function(){if(c)return c;let e=process.env.SIX_DEGREES_DB||i.default.join(o(),"six-degrees.sqlite");c=new t.DatabaseSync(e);try{let t=function(e,{dir:t,version:s,keep:n=5,now:a=new Date}){let o=i.default.join(t,"app-version"),l=null;try{l=(0,r.readFileSync)(o,"utf8").trim()}catch{}if(l===s)return null;let T=null;if(e.prepare("SELECT count(*) AS n FROM sqlite_master WHERE type = 'table' AND name = 'linkedin_connections'").get().n>0){let o=i.default.join(t,"backups");(0,r.mkdirSync)(o,{recursive:!0});let l=a.toISOString().replace(/[:.]/g,"-");for(let{f:t}of(T=i.default.join(o,`${u}${s}-${l}.sqlite`),e.exec(`VACUUM INTO '${T.replace(/'/g,"''")}'`),(0,r.readdirSync)(o).filter(e=>e.startsWith(u)&&e.endsWith(".sqlite")).map(e=>({f:e,at:(0,r.statSync)(i.default.join(o,e)).mtimeMs})).sort((e,t)=>t.at-e.at||t.f.localeCompare(e.f)).slice(n)))(0,r.rmSync)(i.default.join(o,t),{force:!0})}return(0,r.writeFileSync)(o,`${s}
|
|
148
148
|
`),T}(c,{dir:i.default.dirname(e),version:a});t&&console.log(`Six Degrees ${a}: backed up your data first → ${t}`)}catch(e){console.error(`Six Degrees: could not back up your data before ${a} (will try again next start): ${e.message}`)}return c.exec(n),function(e){for(let[t,r,s]of d)e.prepare(`PRAGMA table_info(${t})`).all().some(e=>e.name===r)||e.exec(`ALTER TABLE ${t} ADD COLUMN ${r} ${s}`)}(c),c},"newId",0,function(){return crypto.randomUUID()},"nowIso",0,function(){return new Date().toISOString()}],88431)},80998,e=>{"use strict";var t=e.i(88431);let r=/^[a-z_][a-z0-9_]*$/i;function s(e,t){if(!r.test(e))throw Error(`Unsafe ${t}: ${e}`);return e}class i{constructor(e){this.table=s(e,"table"),this._columns="*",this._filters=[],this._order=null,this._limit=null,this._single=!1,this._op="select",this._payload=null,this._onConflict=null,this._ignoreDuplicates=!1}select(e="*"){return"select"===this._op&&(this._columns="*"===e?"*":e),this._returning=!0,this}eq(e,r){return s(e,"column"),null===r?this._filters.push({sql:`"${e}" IS NULL`,params:[]}):this._filters.push({sql:`"${e}" = ?`,params:[(0,t.encodeValue)(this.table,e,r)]}),this}neq(e,r){return s(e,"column"),this._filters.push({sql:`"${e}" IS NOT ?`,params:[(0,t.encodeValue)(this.table,e,r)]}),this}in(e,r){s(e,"column");let i=Array.isArray(r)?r:[];return i.length?this._filters.push({sql:`"${e}" IN (${i.map(()=>"?").join(", ")})`,params:i.map(r=>(0,t.encodeValue)(this.table,e,r))}):this._filters.push({sql:"0 = 1",params:[]}),this}ilike(e,t){return s(e,"column"),this._filters.push({sql:`"${e}" LIKE ?`,params:[t]}),this}not(e,r,i){return s(e,"column"),"is"===r&&null===i?this._filters.push({sql:`"${e}" IS NOT NULL`,params:[]}):this._filters.push({sql:`NOT ("${e}" = ?)`,params:[(0,t.encodeValue)(this.table,e,i)]}),this}is(e,r){return s(e,"column"),null===r?this._filters.push({sql:`"${e}" IS NULL`,params:[]}):this._filters.push({sql:`"${e}" = ?`,params:[(0,t.encodeValue)(this.table,e,r)]}),this}order(e,{ascending:t=!0}={}){return s(e,"column"),this._order=`"${e}" ${t?"ASC":"DESC NULLS LAST"}`,this}limit(e){return this._limit=Number(e)||0,this}single(){return this._single=!0,this._limit=this._limit??1,this}maybeSingle(){return this.single()}insert(e){return this._op="insert",this._payload=Array.isArray(e)?e:[e],this}upsert(e,t={}){return this._op="upsert",this._payload=Array.isArray(e)?e:[e],this._onConflict=t.onConflict||null,this._ignoreDuplicates=!!t.ignoreDuplicates,this}update(e){return this._op="update",this._payload=e,this}delete(){return this._op="delete",this}_where(){return this._filters.length?{sql:" WHERE "+this._filters.map(e=>e.sql).join(" AND "),params:this._filters.flatMap(e=>e.params)}:{sql:"",params:[]}}_run(){let e=(0,t.getDb)(),s=this._where();if("select"===this._op){let r=`SELECT ${"*"===this._columns?"*":this._columns} FROM "${this.table}"${s.sql}`;this._order&&(r+=` ORDER BY ${this._order}`),null!=this._limit&&(r+=` LIMIT ${Number(this._limit)}`);let i=e.prepare(r).all(...s.params).map(e=>(0,t.decodeRow)(this.table,e));return this._single?i.length?{data:i[0],error:null}:{data:null,error:{message:"No rows found",code:"PGRST116"}}:{data:i,error:null}}if("insert"===this._op||"upsert"===this._op){let s=[];for(let i of this._payload){let n={id:i.id||(0,t.newId)(),...i};n.id||(n.id=(0,t.newId)());let a=Object.keys(n).filter(e=>r.test(e)),o=a.map(e=>(0,t.encodeValue)(this.table,e,n[e])),l=a.map(()=>"?").join(", "),T=a.map(e=>`"${e}"`).join(", "),c=`INSERT INTO "${this.table}" (${T}) VALUES (${l})`;if("upsert"===this._op)if(this._ignoreDuplicates)c+=" ON CONFLICT DO NOTHING";else{let e=this._onConflict?this._onConflict.split(",").map(e=>`"${e.trim()}"`).join(", "):'"id"',t=a.filter(e=>"id"!==e).map(e=>`"${e}" = excluded."${e}"`).join(", ");c+=` ON CONFLICT (${e}) DO UPDATE SET ${t||'"id" = "id"'}`}try{e.prepare(c).run(...o);let r=e.prepare(`SELECT * FROM "${this.table}" WHERE id = ?`).get(n.id);r&&s.push((0,t.decodeRow)(this.table,r))}catch(e){if("upsert"===this._op&&/UNIQUE constraint/i.test(e.message))continue;return{data:null,error:{message:e.message}}}}return this._single?{data:s[0]??null,error:s.length?null:{message:"Insert returned no row"}}:{data:s,error:null}}if("update"===this._op){let i={...this._payload};"updated_at"in i==!1&&"linkedin_connections"===this.table&&(i.updated_at=(0,t.nowIso)());let n=Object.keys(i).filter(e=>r.test(e));if(!n.length)return{data:[],error:null};let a=n.map(e=>`"${e}" = ?`).join(", "),o=n.map(e=>(0,t.encodeValue)(this.table,e,i[e])),l=`UPDATE "${this.table}" SET ${a}${s.sql}`;try{let r=e.prepare(`SELECT id FROM "${this.table}"${s.sql}`).all(...s.params);e.prepare(l).run(...o,...s.params);let i=r.map(t=>e.prepare(`SELECT * FROM "${this.table}" WHERE id = ?`).get(t.id)).filter(Boolean).map(e=>(0,t.decodeRow)(this.table,e));if(this._single)return{data:i[0]??null,error:i.length?null:{message:"No rows updated"}};return{data:i,error:null}}catch(e){return{data:null,error:{message:e.message}}}}if("delete"===this._op)try{let r=e.prepare(`SELECT * FROM "${this.table}"${s.sql}`).all(...s.params).map(e=>(0,t.decodeRow)(this.table,e));return e.prepare(`DELETE FROM "${this.table}"${s.sql}`).run(...s.params),{data:r,error:null}}catch(e){return{data:null,error:{message:e.message}}}return{data:null,error:{message:`Unsupported operation: ${this._op}`}}}then(e,t){let r;try{r=this._run()}catch(e){r={data:null,error:{message:e.message}}}return Promise.resolve(r).then(e,t)}catch(e){return this.then(void 0,e)}finally(e){return this.then(t=>(e?.(),t),t=>{throw e?.(),t})}}e.s(["db",0,{from:e=>new i(e),async rpc(t,r={}){let{runRpc:s}=await e.A(35862);return s(t,r)}}])}];
|
|
149
149
|
|
|
150
150
|
//# sourceMappingURL=%5Broot-of-the-server%5D__0jrmmj-._.js.map
|
|
@@ -145,7 +145,7 @@ CREATE TABLE IF NOT EXISTS user_profile (
|
|
|
145
145
|
created_at TEXT DEFAULT (datetime('now')),
|
|
146
146
|
updated_at TEXT DEFAULT (datetime('now'))
|
|
147
147
|
);
|
|
148
|
-
`,i="0.2.
|
|
148
|
+
`,i="0.2.1";function s(){let e=process.env.SIX_DEGREES_HOME||a.default.join((0,n.homedir)(),".six-degrees");return(0,r.existsSync)(e)||(0,r.mkdirSync)(e,{recursive:!0}),e}let l={users:["sectors","goals","company_prestige_config"],user_profile:["sectors","goals","company_prestige_config"],linkedin_connections:["influence_signals"],notifications:["data"],queue_items:[],user_stats:[]},c={linkedin_connections:["is_catalyst"],notifications:["seen"],users:[],user_profile:[],queue_items:[],user_stats:[]},d=null,u=[["linkedin_connections","score_why","TEXT"]],T="auto-before-";e.s(["dataDir",0,s,"decodeRow",0,function(e,t){if(!t)return t;let r={...t};for(let t of l[e]||[])if("string"==typeof r[t])try{r[t]=JSON.parse(r[t])}catch{}for(let t of c[e]||[])(0===r[t]||1===r[t])&&(r[t]=!!r[t]);return r},"encodeValue",0,function(e,t,r){return void 0===r?null:(l[e]||[]).includes(t)?null===r?null:JSON.stringify(r):(c[e]||[]).includes(t)?null===r?null:+!!r:"boolean"==typeof r?+!!r:null!==r&&"object"==typeof r?JSON.stringify(r):r},"getDb",0,function(){if(d)return d;let e=process.env.SIX_DEGREES_DB||a.default.join(s(),"six-degrees.sqlite");d=new t.DatabaseSync(e);try{let t=function(e,{dir:t,version:n,keep:o=5,now:i=new Date}){let s=a.default.join(t,"app-version"),l=null;try{l=(0,r.readFileSync)(s,"utf8").trim()}catch{}if(l===n)return null;let c=null;if(e.prepare("SELECT count(*) AS n FROM sqlite_master WHERE type = 'table' AND name = 'linkedin_connections'").get().n>0){let s=a.default.join(t,"backups");(0,r.mkdirSync)(s,{recursive:!0});let l=i.toISOString().replace(/[:.]/g,"-");for(let{f:t}of(c=a.default.join(s,`${T}${n}-${l}.sqlite`),e.exec(`VACUUM INTO '${c.replace(/'/g,"''")}'`),(0,r.readdirSync)(s).filter(e=>e.startsWith(T)&&e.endsWith(".sqlite")).map(e=>({f:e,at:(0,r.statSync)(a.default.join(s,e)).mtimeMs})).sort((e,t)=>t.at-e.at||t.f.localeCompare(e.f)).slice(o)))(0,r.rmSync)(a.default.join(s,t),{force:!0})}return(0,r.writeFileSync)(s,`${n}
|
|
149
149
|
`),c}(d,{dir:a.default.dirname(e),version:i});t&&console.log(`Six Degrees ${i}: backed up your data first → ${t}`)}catch(e){console.error(`Six Degrees: could not back up your data before ${i} (will try again next start): ${e.message}`)}return d.exec(o),function(e){for(let[t,r,n]of u)e.prepare(`PRAGMA table_info(${t})`).all().some(e=>e.name===r)||e.exec(`ALTER TABLE ${t} ADD COLUMN ${r} ${n}`)}(d),d},"newId",0,function(){return crypto.randomUUID()},"nowIso",0,function(){return new Date().toISOString()}],88431)}];
|
|
150
150
|
|
|
151
151
|
//# sourceMappingURL=%5Broot-of-the-server%5D__0qx548g._.js.map
|
|
@@ -144,7 +144,7 @@ CREATE TABLE IF NOT EXISTS user_profile (
|
|
|
144
144
|
created_at TEXT DEFAULT (datetime('now')),
|
|
145
145
|
updated_at TEXT DEFAULT (datetime('now'))
|
|
146
146
|
);
|
|
147
|
-
`,o="0.2.
|
|
147
|
+
`,o="0.2.1";function s(){let e=process.env.SIX_DEGREES_HOME||a.default.join((0,n.homedir)(),".six-degrees");return(0,r.existsSync)(e)||(0,r.mkdirSync)(e,{recursive:!0}),e}let l={users:["sectors","goals","company_prestige_config"],user_profile:["sectors","goals","company_prestige_config"],linkedin_connections:["influence_signals"],notifications:["data"],queue_items:[],user_stats:[]},d={linkedin_connections:["is_catalyst"],notifications:["seen"],users:[],user_profile:[],queue_items:[],user_stats:[]},c=null,u=[["linkedin_connections","score_why","TEXT"]],T="auto-before-";e.s(["dataDir",0,s,"decodeRow",0,function(e,t){if(!t)return t;let r={...t};for(let t of l[e]||[])if("string"==typeof r[t])try{r[t]=JSON.parse(r[t])}catch{}for(let t of d[e]||[])(0===r[t]||1===r[t])&&(r[t]=!!r[t]);return r},"encodeValue",0,function(e,t,r){return void 0===r?null:(l[e]||[]).includes(t)?null===r?null:JSON.stringify(r):(d[e]||[]).includes(t)?null===r?null:+!!r:"boolean"==typeof r?+!!r:null!==r&&"object"==typeof r?JSON.stringify(r):r},"getDb",0,function(){if(c)return c;let e=process.env.SIX_DEGREES_DB||a.default.join(s(),"six-degrees.sqlite");c=new t.DatabaseSync(e);try{let t=function(e,{dir:t,version:n,keep:i=5,now:o=new Date}){let s=a.default.join(t,"app-version"),l=null;try{l=(0,r.readFileSync)(s,"utf8").trim()}catch{}if(l===n)return null;let d=null;if(e.prepare("SELECT count(*) AS n FROM sqlite_master WHERE type = 'table' AND name = 'linkedin_connections'").get().n>0){let s=a.default.join(t,"backups");(0,r.mkdirSync)(s,{recursive:!0});let l=o.toISOString().replace(/[:.]/g,"-");for(let{f:t}of(d=a.default.join(s,`${T}${n}-${l}.sqlite`),e.exec(`VACUUM INTO '${d.replace(/'/g,"''")}'`),(0,r.readdirSync)(s).filter(e=>e.startsWith(T)&&e.endsWith(".sqlite")).map(e=>({f:e,at:(0,r.statSync)(a.default.join(s,e)).mtimeMs})).sort((e,t)=>t.at-e.at||t.f.localeCompare(e.f)).slice(i)))(0,r.rmSync)(a.default.join(s,t),{force:!0})}return(0,r.writeFileSync)(s,`${n}
|
|
148
148
|
`),d}(c,{dir:a.default.dirname(e),version:o});t&&console.log(`Six Degrees ${o}: backed up your data first → ${t}`)}catch(e){console.error(`Six Degrees: could not back up your data before ${o} (will try again next start): ${e.message}`)}return c.exec(i),function(e){for(let[t,r,n]of u)e.prepare(`PRAGMA table_info(${t})`).all().some(e=>e.name===r)||e.exec(`ALTER TABLE ${t} ADD COLUMN ${r} ${n}`)}(c),c},"newId",0,function(){return crypto.randomUUID()},"nowIso",0,function(){return new Date().toISOString()}],88431)}];
|
|
149
149
|
|
|
150
150
|
//# sourceMappingURL=%5Broot-of-the-server%5D__1an3leo._.js.map
|
|
@@ -144,7 +144,7 @@ CREATE TABLE IF NOT EXISTS user_profile (
|
|
|
144
144
|
created_at TEXT DEFAULT (datetime('now')),
|
|
145
145
|
updated_at TEXT DEFAULT (datetime('now'))
|
|
146
146
|
);
|
|
147
|
-
`,s="0.2.
|
|
147
|
+
`,s="0.2.1";function a(){let e=process.env.SIX_DEGREES_HOME||i.default.join((0,r.homedir)(),".six-degrees");return(0,n.existsSync)(e)||(0,n.mkdirSync)(e,{recursive:!0}),e}let T={users:["sectors","goals","company_prestige_config"],user_profile:["sectors","goals","company_prestige_config"],linkedin_connections:["influence_signals"],notifications:["data"],queue_items:[],user_stats:[]},E={linkedin_connections:["is_catalyst"],notifications:["seen"],users:[],user_profile:[],queue_items:[],user_stats:[]},c=null,d=[["linkedin_connections","score_why","TEXT"]],l="auto-before-";e.s(["dataDir",0,a,"decodeRow",0,function(e,t){if(!t)return t;let n={...t};for(let t of T[e]||[])if("string"==typeof n[t])try{n[t]=JSON.parse(n[t])}catch{}for(let t of E[e]||[])(0===n[t]||1===n[t])&&(n[t]=!!n[t]);return n},"encodeValue",0,function(e,t,n){return void 0===n?null:(T[e]||[]).includes(t)?null===n?null:JSON.stringify(n):(E[e]||[]).includes(t)?null===n?null:+!!n:"boolean"==typeof n?+!!n:null!==n&&"object"==typeof n?JSON.stringify(n):n},"getDb",0,function(){if(c)return c;let e=process.env.SIX_DEGREES_DB||i.default.join(a(),"six-degrees.sqlite");c=new t.DatabaseSync(e);try{let t=function(e,{dir:t,version:r,keep:o=5,now:s=new Date}){let a=i.default.join(t,"app-version"),T=null;try{T=(0,n.readFileSync)(a,"utf8").trim()}catch{}if(T===r)return null;let E=null;if(e.prepare("SELECT count(*) AS n FROM sqlite_master WHERE type = 'table' AND name = 'linkedin_connections'").get().n>0){let a=i.default.join(t,"backups");(0,n.mkdirSync)(a,{recursive:!0});let T=s.toISOString().replace(/[:.]/g,"-");for(let{f:t}of(E=i.default.join(a,`${l}${r}-${T}.sqlite`),e.exec(`VACUUM INTO '${E.replace(/'/g,"''")}'`),(0,n.readdirSync)(a).filter(e=>e.startsWith(l)&&e.endsWith(".sqlite")).map(e=>({f:e,at:(0,n.statSync)(i.default.join(a,e)).mtimeMs})).sort((e,t)=>t.at-e.at||t.f.localeCompare(e.f)).slice(o)))(0,n.rmSync)(i.default.join(a,t),{force:!0})}return(0,n.writeFileSync)(a,`${r}
|
|
148
148
|
`),E}(c,{dir:i.default.dirname(e),version:s});t&&console.log(`Six Degrees ${s}: backed up your data first → ${t}`)}catch(e){console.error(`Six Degrees: could not back up your data before ${s} (will try again next start): ${e.message}`)}return c.exec(o),function(e){for(let[t,n,r]of d)e.prepare(`PRAGMA table_info(${t})`).all().some(e=>e.name===n)||e.exec(`ALTER TABLE ${t} ADD COLUMN ${n} ${r}`)}(c),c},"newId",0,function(){return crypto.randomUUID()},"nowIso",0,function(){return new Date().toISOString()}],88431)},10960,e=>{"use strict";var t=e.i(2157),n=e.i(50227),r=e.i(60526);function i(){for(let e of[process.env.SIX_DEGREES_ROOT,process.cwd(),n.default.join(process.cwd(),".."),n.default.join(process.cwd(),"..","..")].filter(Boolean))if((0,t.existsSync)(n.default.join(e,"scripts","scrape.py")))return e;return null}e.s(["dataDir",0,function(){return process.env.SIX_DEGREES_HOME||n.default.join(r.default.homedir(),".six-degrees")},"isGitCheckout",0,function(){let e=i();return!!(e&&(0,t.existsSync)(n.default.join(e,".git")))},"projectRoot",0,i])},88602,e=>{"use strict";var t=e.i(88431);e.s(["networkCounts",0,function(e){let n=Object.fromEntries((0,t.getDb)().prepare("SELECT degree, COUNT(*) AS n FROM linkedin_connections WHERE user_id = ? GROUP BY degree").all(e).map(e=>[e.degree,e.n]));return{first:n[1]||0,second:n[2]||0,third:n[3]||0}},"resolveProfile",0,function({create:e=!0}={}){let[n]=(0,t.getDb)().prepare(`
|
|
149
149
|
SELECT u.*,
|
|
150
150
|
(SELECT COUNT(*) FROM linkedin_connections c WHERE c.user_id = u.id) AS connections
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
module.exports=[81638,e=>{"use strict";var t=e.i(74533),n=e.i(2157),r=e.i(50227),a=e.i(10960),i=e.i(88602);let l=/LinkedIn reports (\d+) connections/,o=/(\d+)\s*\/\s*(\d+)\s+collected/,s=/Collected all (\d+) connections/,u=/\[(\d+)\/(\d+)\]/,
|
|
1
|
+
module.exports=[81638,e=>{"use strict";var t=e.i(74533),n=e.i(2157),r=e.i(50227),a=e.i(10960),i=e.i(88602);let l=/LinkedIn reports (\d+) connections/,o=/(\d+)\s*\/\s*(\d+)\s+collected/,s=/Collected all (\d+) connections/,u=/\[(\d+)\/(\d+)\]/,c=/^(Collected \d+ connections|Pushing \d+ connections|\s*Sent \d+ →|\s*Updating \d+ profile images|\s*\[image_store\]|\s*Images \d+-\d+)/;function d(e,t){return t?{done:Math.min(e,t),total:t,kind:"walk"}:null}let p=[25,50,100,200,500],h=[100,250,500,1e3,0],f="America/Los_Angeles";function g(e){try{return JSON.parse((0,n.readFileSync)(e,"utf8"))}catch{return null}}function m(e=Date.now()){let t=Object.fromEntries(new Intl.DateTimeFormat("en-US",{timeZone:f,year:"numeric",month:"numeric"}).formatToParts(new Date(e)).map(e=>[e.type,e.value])),n=Number(t.year),r=Number(t.month),a=Date.UTC(n,r-1,1,8);for(let e=0;e<2;e++)a=Date.UTC(n,r-1,1,-function(e){let t=(new Intl.DateTimeFormat("en-US",{timeZone:f,timeZoneName:"shortOffset"}).formatToParts(new Date(e)).find(e=>"timeZoneName"===e.type)?.value||"GMT-8").match(/GMT([+-]\d+)(?::(\d+))?/);return t?Number(t[1]):-8}(a));return a}function y(e){let t=g(r.default.join(e,"scan-limits.json"))||{},n=(e,t)=>Number.isInteger(e)&&e>=0?e:t;return{daily:n(t.daily,50),monthly:n(t.monthly,250)}}function b(e,t=Date.now()){let a=y(e),i=function(e,t=Date.now()){let a=r.default.join(e,"linkedin-activity.json"),i=(0,n.existsSync)(a)?g(a):{searches:[],profiles:[]};if(!i||"object"!=typeof i)return{searchesToday:1/0,searchesMonth:0,profilesToday:0,unreadable:!0};let l=(Array.isArray(i.searches)?i.searches:[]).map(Number),o=(Array.isArray(i.profiles)?i.profiles:[]).map(Number),s=t/1e3-86400,u=m(t)/1e3;return{searchesToday:l.filter(e=>e>s).length,searchesMonth:l.filter(e=>e>=u).length,profilesToday:o.filter(e=>e>s).length}}(e,t),l=(e,t)=>e?Math.max(0,e-t):null;return{...i,limits:a,leftToday:l(a.daily,i.searchesToday),leftMonth:l(a.monthly,i.searchesMonth),monthResets:function(e=Date.now()){let t=m(e);return m(t+3456e6)}(t),cooldown:function(e,t=Date.now()){let n=g(r.default.join(e,"linkedin-cooldown.json")),a=1e3*Number(n?.until);return n&&Number.isFinite(a)&&!(a<=t)?{until:a,reason:String(n.reason||"LinkedIn pushed back"),setAt:1e3*Number(n.set_at)||null}:null}(e,t)}}var R=e.i(88431);let w={running:!1,action:null,log:[],startedAt:null,exitCode:null,child:null,stopping:!1,stderrTail:[],failure:null};function v(e){for(let t of String(e).split("\n")){let e=t.replace(/\s+$/,"");e&&w.log.push(e)}w.log.length>500&&w.log.splice(0,w.log.length-500)}function S(e,n,r=6e3){return new Promise(a=>{let i=!1,l=e=>{i||(i=!0,a(e))};try{let a=(0,t.spawn)(e,n,{stdio:"ignore"}),i=setTimeout(()=>{try{a.kill()}catch{}l(!1)},r);a.on("error",()=>{clearTimeout(i),l(!1)}),a.on("close",e=>{clearTimeout(i),l(0===e)})}catch{l(!1)}})}let T="import requests; from PIL import Image; from playwright.sync_api import sync_playwright";function E(){let e=r.default.join((0,a.dataDir)(),"venv");return r.default.join(e,"bin","python")}async function C(){let e=E();if((0,n.existsSync)(e)&&await S(e,["-c",T],8e3))return e;for(let e of["/usr/bin/python3","python3","python"])if(await S(e,["-c",T],8e3))return e;return null}async function N(){for(let e of["python3","/usr/bin/python3","python"])if(await S(e,["--version"],4e3))return e;return null}let A={at:0,value:null};async function x(){if(Date.now()-A.at<4e3&&A.value)return A.value;let e=(0,a.projectRoot)(),t=await C(),i=t||await N(),l={root:e,usable:t,anyPython:i,chrome:(0,n.existsSync)("/opt/google/chrome/chrome"),signedIn:(0,n.existsSync)(r.default.join((0,a.dataDir)(),"chrome-profile","Default","Cookies"))};return A={at:Date.now(),value:l},l}async function D(){let e=await x(),t={first:0,second:0,third:0},p=null;try{(p=(0,i.resolveProfile)({create:!1}))&&(t=(0,i.networkCounts)(p.id))}catch{}return{ready:!!(e.root&&e.usable&&e.chrome),checks:{scriptsFound:!!e.root,python:!!e.anyPython,pythonPath:e.usable||e.anyPython,dependencies:!!e.usable,chrome:e.chrome,signedIn:e.signedIn},network:t,running:w.running,action:w.action,startedAt:w.startedAt,exitCode:w.exitCode,failure:w.running?null:w.failure,progress:w.running?function(e,t){if(!Array.isArray(e)||0===e.length)return null;if("full"===t||"refresh"===t){for(let t=e.length-1;t>=0;t--){let n=String(e[t]);if(c.test(n))return{kind:"saving"};let r=n.match(s);if(r)return d(Number(r[1]),Number(r[1]));let a=n.match(o);if(a)return d(Number(a[1]),Number(a[2]));let i=n.match(l);if(i)return d(0,Number(i[1]))}return null}if(t&&(t.startsWith("auto-bridge")||"resume-all"===t))for(let t=e.length-1;t>=0;t--){let n=String(e[t]).match(u);if(n){let e=Number(n[1]),t=Number(n[2]);if(!t)return null;return{done:Math.min(e-1,t),total:t,current:e,kind:"batch"}}}return null}(w.log,w.action):null,log:w.log.slice(-120),skips:function(){try{let e=(0,n.readFileSync)(r.default.join((0,a.dataDir)(),"bridge-skips.json"),"utf8"),t=JSON.parse(e);return Object.entries(t).map(([e,t])=>({profileUrl:e,name:t?.name??"",reason:t?.reason??"",at:t?.at??null}))}catch{return[]}}(),linkedin:b((0,a.dataDir)()),paused:function(e){if(!e)return[];try{let t=(0,R.getDb)(),i=t.prepare(`SELECT id, name, tier, profile_url, connected_date, created_at
|
|
2
2
|
FROM linkedin_connections WHERE user_id = ? AND degree = 1`).all(e),l=new Set(t.prepare(`SELECT DISTINCT source_connection_id AS id FROM linkedin_connections
|
|
3
|
-
WHERE user_id = ? AND degree = 2 AND source_connection_id IS NOT NULL`).all(e).map(e=>e.id));return function(e,t,n={},r={}){let a=[];for(let i of e){let e=i.profile_url,l=e?n[e]:void 0;if(!t.has(i.id)&&!l)continue;let o=function(e){if(!e)return 11;if(e.hidden||!e.more)return null;let t=(Number(e.pages)||0)+1;return t<=100?t:null}(l);null!=o&&a.push({id:i.id,name:i.name,tier:i.tier,profileUrl:e,pagesRead:o-1,nextPage:o,legacy:!l,at:l?.at||null,unclear:Number(r?.[e]?.n)||0,connected:i.connected_date||null,created:i.created_at||null})}let i=e=>`${+!!e.connected}|${e.connected||e.created||""}`;return a.sort((e,t)=>(e.unclear>=2)-(t.unclear>=2)||i(t).localeCompare(i(e))),a}(i,l,function(e,t){try{let a=JSON.parse((0,n.readFileSync)(r.default.join(e,"bridge-progress.json"),"utf8")),i=a?.[String(t||"default")];return i&&"object"==typeof i?i:{}}catch{return{}}}((0,a.dataDir)(),e),function(e){try{return JSON.parse((0,n.readFileSync)(r.default.join(e,"bridge-unclear.json"),"utf8"))||{}}catch{return{}}}((0,a.dataDir)()))}catch{return[]}}(p?.id)}}async function x(){return Response.json(await _())}let j={install:{label:"Installing the scraper’s Python packages"},login:{flag:"--login",label:"Opening LinkedIn so you can sign in"},full:{flag:"--full",label:"Scanning your whole network"},refresh:{flag:"--refresh",label:"Checking for new connections"},"auto-bridge":{flag:"--auto-bridge",label:"Mapping every bridge in turn"},"auto-bridge-retry":{flag:"--auto-bridge --retry-private",label:"Mapping every bridge, hidden ones included"},bridge:{flag:"--bridge",needsName:!0,label:"Mapping the circle behind"},resume:{flag:"--bridge-url",needsId:!0,label:"Carrying on with",searches:!0},"resume-all":{flag:"--auto-bridge --only-unfinished",label:"Carrying on with every paused list",searches:!0},rescrape:{flag:"--rescrape",needsName:!0,label:"Re-mapping the circle behind"},company:{flag:"--company",needsName:!0,label:"Scanning"}};async function P(e){let l,o={};try{o=await e.json()}catch{}let s=String(o.action||"");if("cancel"===s)return!function(){let e=w.child;if(!e)return;w.stopping=!0,v("Stopping…");let t=e.pid;try{process.kill(-t,"SIGTERM")}catch{try{e.kill("SIGTERM")}catch{}}setTimeout(()=>{if(w.child&&w.child.pid===t){v("Still running — forcing it.");try{process.kill(-t,"SIGKILL")}catch{try{e.kill("SIGKILL")}catch{}}}},2e4)}(),Response.json({ok:!0,cancelled:!0});if("set-limits"===s){let e=function(e,{daily:t,monthly:a}){var i;let l,o=y(e),s={daily:p.includes(t)?t:o.daily,monthly:h.includes(a)?a:o.monthly};return i=r.default.join(e,"scan-limits.json"),l=`${i}.${process.pid}.${Date.now()}.tmp`,(0,n.writeFileSync)(l,JSON.stringify(s,null,2)),(0,n.renameSync)(l,i),s}((0,a.dataDir)(),{daily:o.daily,monthly:o.monthly});return Response.json({ok:!0,limits:e})}if("lift-cooldown"===s){var u,d=(0,a.dataDir)();try{(0,n.unlinkSync)(r.default.join(d,"linkedin-cooldown.json"))}catch{}return Response.json({ok:!0})}if(!Object.hasOwn(j,s))return Response.json({error:`Unknown action '${s}'`},{status:400});let c=j[s],f=Number.isInteger(o.maxBridges)&&o.maxBridges>0?Math.min(o.maxBridges,500):0,g=Array.isArray(o.tiers)?o.tiers.map(e=>String(e).toUpperCase()).filter(e=>"SABCD".includes(e)&&1===e.length):[],m="score"===o.order?"score":"newest",S=[10,25,50,100].includes(o.maxPages)?o.maxPages:100,T=s.startsWith("auto-bridge")||["bridge","rescrape","resume","resume-all"].includes(s),D=!0===o.deeper&&(s.startsWith("auto-bridge")||"bridge"===s),_=null;if(c.needsName){let e;if(!(_=!(e=String(o.name??"").trim())||e.length>120||/[\u0000-\u001f]/.test(e)?null:e))return Response.json({error:"A name is required for this action."},{status:400})}let x=null;if(c.needsId){try{let e,t=(0,i.resolveProfile)({create:!1}),n=t&&(0,R.getDb)().prepare("SELECT profile_url FROM linkedin_connections WHERE id = ? AND user_id = ? AND degree = 1").get(String(o.id??""),t.id);x=n?.profile_url&&(u=n.profile_url,(e=String(u??"").trim()).length>400||/[\u0000-\u001f\s]/.test(e)?null:/^https?:\/\/([a-z]{2,3}\.|www\.)?linkedin\.com\/in\/[^/?#]+\/?$/i.test(e)?e:null)}catch{x=null}if(!x)return Response.json({error:"That connection could not be found."},{status:400})}let P=c.searches||s.startsWith("auto-bridge")||["bridge","rescrape","company","full","refresh"].includes(s),k=b((0,a.dataDir)()).cooldown;if(P&&k)return Response.json({error:`Scanning is paused until ${new Date(k.until).toLocaleString()} — ${k.reason}.`,cooldown:k},{status:409});if(w.running)return Response.json({error:"Something is already running.",action:w.action},{status:409});let I=(0,a.projectRoot)();if(!I)return Response.json({error:"Could not find scripts/scrape.py next to the app."},{status:500});if("install"===s){if(!(l=await N()))return Response.json({error:"Python 3 is not installed, or not on this app’s PATH."},{status:500})}else if(!(l=await C()))return Response.json({error:"The scraper’s packages are not installed yet. Do step 1 first."},{status:409});let O=r.default.join((0,a.dataDir)(),"venv"),M=r.default.join(I,"scripts","requirements.txt"),$="install"===s?[{cmd:l,args:["-m","venv",O],note:"Creating a private Python environment"},{cmd:E(),args:["-m","pip","install","--upgrade","pip"],note:"Updating pip",tolerant:!0},{cmd:E(),args:["-m","pip","install","-r",M],note:"Installing Playwright, requests and Pillow"}]:[{cmd:l,args:[r.default.join(I,"scripts","scrape.py"),..._?[`${c.flag}=${_}`]:x?[`${c.flag}=${x}`]:c.flag.split(" "),...f&&(s.startsWith("auto-bridge")||"resume-all"===s)?[`--max-bridges=${f}`]:[],...g.length&&s.startsWith("auto-bridge")?[`--tiers=${g.join(",")}`]:[],...s.startsWith("auto-bridge")?[`--order=${m}`]:[],...T?[`--max-pages=${s.startsWith("resume")?100:S}`]:[],...D?["--deeper"]:[]]}],U=e.headers.get("host")||"127.0.0.1:3000",F=U.includes(":")?U.split(":").pop():"80";w.running=!0,w.stopping=!1,w.action=s,w.exitCode=null,w.startedAt=Date.now(),w.log=[c.label+(_?` ${_}…`:"…")],w.stderrTail=[],w.failure=null,A={at:0,value:null};let H="";try{H=(0,i.resolveProfile)().id}catch{}let q={...process.env,SIX_DEGREES_USER_ID:H,APP_URL:`http://127.0.0.1:${F}`,PYTHONUNBUFFERED:"1",SIX_DEGREES_ROOT:I,SIX_DEGREES_FROM_APP:"1"};function L(e){if(0!==e&&!w.stopping&&w.stderrTail.length){let e=new Set(w.log),t=w.stderrTail.filter(t=>!e.has(t));t.length&&v(t.join("\n"));let n=w.stderrTail.filter(e=>!/Warning|warnings\.warn\(/.test(e)).slice(-6);w.failure=n.length?n:null}v(w.stopping?"Stopped.":0===e?"Finished.":`Stopped (exit ${e}).`),w.stopping=!1,w.running=!1,w.child=null,w.exitCode=e,A={at:0,value:null}}return!function e(n){let r;if(n>=$.length)return L(0);let a=$[n];a.note&&v(a.note+"…");try{r=(0,t.spawn)(a.cmd,a.args,{cwd:I,env:q,detached:!0})}catch(e){return v(`Could not start: ${e.message}`),L(-1)}w.child=r,r.stdout.on("data",e=>v(e.toString())),r.stderr.on("data",e=>{let t=e.toString();for(let e of t.split("\n")){let t=e.replace(/\s+$/,"");t&&w.stderrTail.push(t)}w.stderrTail.length>20&&w.stderrTail.splice(0,w.stderrTail.length-20),/error|Error|Traceback|No module|failed|externally-managed/.test(t)&&v(t)}),r.on("error",e=>{v(`Could not start: ${e.message}`),L(-1)}),r.on("close",t=>w.stopping?L(t??0):0===t||a.tolerant?void e(n+1):L(t))}(0),Response.json({ok:!0,action:s})}e.s(["GET",0,x,"POST",0,P],81638)},14974,e=>{"use strict";var t=e.i(47909),n=e.i(74017),r=e.i(96250),a=e.i(59756),i=e.i(61916),l=e.i(74677),o=e.i(69741),s=e.i(16795),u=e.i(87718),d=e.i(95169),c=e.i(47587),p=e.i(66012),h=e.i(70101),f=e.i(26937),g=e.i(10372),m=e.i(93695);e.i(52474);var y=e.i(220);let b=new t.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/scraper/route",pathname:"/api/scraper",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/app/api/scraper/route.js",nextConfigOutput:"standalone",userland:()=>e.r(81638),...{}}),{workAsyncStorage:R,workUnitAsyncStorage:w,serverHooks:v}=b;async function S(e,t,r){r.requestMeta&&(0,a.setRequestMeta)(e,r.requestMeta),b.isDev&&(0,a.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let R="/api/scraper/route";R=R.replace(/\/index$/,"")||"/";let w=await b.prepare(e,t,{srcPage:R,multiZoneDraftMode:!1});if(!w)return t.statusCode=400,t.end("Bad Request"),null==r.waitUntil||r.waitUntil.call(r,Promise.resolve()),null;let{buildId:v,deploymentId:S,params:T,nextConfig:E,parsedUrl:C,isDraftMode:N,prerenderManifest:A,routerServerContext:D,isOnDemandRevalidate:_,revalidateOnlyGenerated:x,resolvedPathname:j,clientReferenceManifest:P,serverActionsManifest:k}=w,I=(0,o.normalizeAppPath)(R),O=!!(A.dynamicRoutes[I]||A.routes[j]),M=async()=>((null==D?void 0:D.render404)?await D.render404(e,t,C,!1):t.end("This page could not be found"),null);if(O&&!N){let e=!!A.routes[j],t=A.dynamicRoutes[I];if(t&&!1===t.fallback&&!e){if(E.adapterPath)return await M();throw new m.NoFallbackError}}let $=null;!O||b.isDev||N||($="/index"===($=j)?"/":$);let U=!0===b.isDev||!O,F=O&&!U;k&&P&&(0,l.setManifestsSingleton)({page:R,clientReferenceManifest:P,serverActionsManifest:k});let H=e.method||"GET",q=(0,i.getTracer)(),L=q.getActiveScopeSpan(),G=!!(null==D?void 0:D.isWrappedByNextServer),W=!!(0,a.getRequestMeta)(e,"minimalMode"),B=(0,a.getRequestMeta)(e,"incrementalCache")||await b.getIncrementalCache(e,E,A,W);null==B||B.resetRequestCache(),globalThis.__incrementalCache=B;let K={params:T,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!E.experimental.authInterrupts,useCacheTimeout:E.experimental.useCacheTimeout},cacheComponents:!!E.cacheComponents,validationLevel:E.experimental.instantInsights.validationLevel,supportsDynamicResponse:U,incrementalCache:B,hmrRefreshHash:(0,a.getRequestMeta)(e,"hmrRefreshHash"),cacheLifeProfiles:E.cacheLife,staticPageGenerationTimeout:E.staticPageGenerationTimeout,waitUntil:r.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,n,r,a)=>b.onRequestError(e,t,r,a,D)},sharedContext:{buildId:v,deploymentId:S}},X=new s.NodeNextRequest(e),J=new s.NodeNextResponse(t),Z=u.NextRequestAdapter.fromNodeNextRequest(X,(0,u.signalFromNodeResponse)(t)),V=async({previousCacheEntry:n})=>{try{if(!W&&_&&x&&!n)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let a=await b.handle(Z,K);e.fetchMetrics=K.renderOpts.fetchMetrics;let i=K.renderOpts.pendingWaitUntil;i&&r.waitUntil&&(r.waitUntil(i),i=void 0);let l=K.renderOpts.collectedTags;if(!O)return await (0,p.sendResponse)(X,J,a,i),null;{let e=await a.blob(),t=(0,h.toNodeOutgoingHttpHeaders)(a.headers);l&&(t[g.NEXT_CACHE_TAGS_HEADER]=l),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let n=void 0!==K.renderOpts.collectedRevalidate&&!(K.renderOpts.collectedRevalidate>=g.INFINITE_CACHE)&&K.renderOpts.collectedRevalidate,r=void 0===K.renderOpts.collectedExpire||K.renderOpts.collectedExpire>=g.INFINITE_CACHE?!1!==n&&n>0?E.expireTime:void 0:K.renderOpts.collectedExpire;return{value:{kind:y.CachedRouteKind.APP_ROUTE,status:a.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:n,expire:r}}}}catch(t){throw(null==n?void 0:n.isStale)&&await b.onRequestError(e,t,{routerKind:"App Router",routePath:R,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:F,isOnDemandRevalidate:_})},!1,D),t}},z=async(a,l)=>{try{var o,s;let a=await b.handleResponse({req:e,nextConfig:E,cacheKey:$,routeKind:n.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:_,revalidateOnlyGenerated:x,responseGenerator:V,waitUntil:r.waitUntil,isMinimalMode:W});if(!O)return;if((null==a||null==(o=a.value)?void 0:o.kind)!==y.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==a||null==(s=a.value)?void 0:s.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});W||t.setHeader("x-nextjs-cache",_?"REVALIDATED":a.isMiss?"MISS":a.isStale?"STALE":"HIT"),N&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let i=(0,h.fromNodeOutgoingHttpHeaders)(a.value.headers);W&&O||i.delete(g.NEXT_CACHE_TAGS_HEADER),!a.cacheControl||t.getHeader("Cache-Control")||i.get("Cache-Control")||i.set("Cache-Control",(0,f.getCacheControlHeader)(a.cacheControl)),await (0,p.sendResponse)(X,J,new Response(a.value.body,{headers:i,status:a.value.status||200}));return}catch(t){if(t instanceof m.NoFallbackError||await b.onRequestError(e,t,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:F,isOnDemandRevalidate:_})},!1,D),O)throw t;await (0,p.sendResponse)(X,J,new Response(null,{status:500}));return}finally{(()=>{if(!a)return;let e=t.statusCode;a.setAttributes({"http.status_code":e,"next.rsc":!1}),e&&e>=500&&(a.setStatus({code:i.SpanStatusCode.ERROR}),a.setAttribute("error.type",e.toString()));let n=q.getRootSpanAttributes();if(!n)return;if(n.get("next.span_type")!==d.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${n.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let r=n.get("next.route")||I,o=`${H} ${r}`;a.setAttributes({"next.route":r,"http.route":r,"next.span_name":o}),a.updateName(o),l&&l!==a&&(l.setAttribute("http.route",r),l.updateName(o))})()}};if(G&&L)await z(L,void 0);else{let t=q.getActiveScopeSpan();await q.withPropagatedContext(e.headers,()=>q.trace(d.BaseServerSpan.handleRequest,{spanName:`${H} ${R}`,kind:i.SpanKind.SERVER,attributes:{"http.method":H,"http.target":e.url}},e=>z(e,t)),void 0,!G)}}e.s(["handler",0,S,"patchFetch",0,function(){return(0,r.patchFetch)({workAsyncStorage:R,workUnitAsyncStorage:w})},"routeModule",0,b,"serverHooks",0,v,"workAsyncStorage",0,R,"workUnitAsyncStorage",0,w])}];
|
|
3
|
+
WHERE user_id = ? AND degree = 2 AND source_connection_id IS NOT NULL`).all(e).map(e=>e.id));return function(e,t,n={},r={}){let a=[];for(let i of e){let e=i.profile_url,l=e?n[e]:void 0;if(!t.has(i.id)&&!l)continue;let o=function(e){if(!e)return 11;if(e.hidden||!e.more)return null;let t=(Number(e.pages)||0)+1;return t<=100?t:null}(l);null!=o&&a.push({id:i.id,name:i.name,tier:i.tier,profileUrl:e,pagesRead:o-1,nextPage:o,legacy:!l,at:l?.at||null,unclear:Number(r?.[e]?.n)||0,connected:i.connected_date||null,created:i.created_at||null})}let i=e=>`${+!!e.connected}|${e.connected||e.created||""}`;return a.sort((e,t)=>(e.unclear>=2)-(t.unclear>=2)||i(t).localeCompare(i(e))),a}(i,l,function(e,t){try{let a=JSON.parse((0,n.readFileSync)(r.default.join(e,"bridge-progress.json"),"utf8")),i=a?.[String(t||"default")];return i&&"object"==typeof i?i:{}}catch{return{}}}((0,a.dataDir)(),e),function(e){try{return JSON.parse((0,n.readFileSync)(r.default.join(e,"bridge-unclear.json"),"utf8"))||{}}catch{return{}}}((0,a.dataDir)()))}catch{return[]}}(p?.id)}}async function _(){return Response.json(await D())}let j={install:{label:"Installing the scraper’s Python packages"},login:{flag:"--login",label:"Opening LinkedIn so you can sign in"},full:{flag:"--full",label:"Scanning your whole network"},refresh:{flag:"--refresh",label:"Checking for new connections"},"auto-bridge":{flag:"--auto-bridge",label:"Mapping every bridge in turn"},"auto-bridge-retry":{flag:"--auto-bridge --retry-private",label:"Mapping every bridge, hidden ones included"},bridge:{flag:"--bridge",needsName:!0,label:"Mapping the circle behind"},resume:{flag:"--bridge-url",needsId:!0,label:"Carrying on with",searches:!0},"resume-all":{flag:"--auto-bridge --only-unfinished",label:"Carrying on with every paused list",searches:!0},rescrape:{flag:"--rescrape",needsName:!0,label:"Re-mapping the circle behind"},company:{flag:"--company",needsName:!0,label:"Scanning"}};async function P(e){let l,o={};try{o=await e.json()}catch{}let s=String(o.action||"");if("cancel"===s)return!function(){let e=w.child;if(!e)return;w.stopping=!0,v("Stopping…");let t=e.pid;try{process.kill(-t,"SIGTERM")}catch{try{e.kill("SIGTERM")}catch{}}setTimeout(()=>{if(w.child&&w.child.pid===t){v("Still running — forcing it.");try{process.kill(-t,"SIGKILL")}catch{try{e.kill("SIGKILL")}catch{}}}},2e4)}(),Response.json({ok:!0,cancelled:!0});if("set-limits"===s){let e=function(e,{daily:t,monthly:a}){var i;let l,o=y(e),s={daily:p.includes(t)?t:o.daily,monthly:h.includes(a)?a:o.monthly};return i=r.default.join(e,"scan-limits.json"),l=`${i}.${process.pid}.${Date.now()}.tmp`,(0,n.writeFileSync)(l,JSON.stringify(s,null,2)),(0,n.renameSync)(l,i),s}((0,a.dataDir)(),{daily:o.daily,monthly:o.monthly});return Response.json({ok:!0,limits:e})}if("lift-cooldown"===s){var u,c=(0,a.dataDir)();try{(0,n.unlinkSync)(r.default.join(c,"linkedin-cooldown.json"))}catch{}return Response.json({ok:!0})}if(!Object.hasOwn(j,s))return Response.json({error:`Unknown action '${s}'`},{status:400});let d=j[s],f=Number.isInteger(o.maxBridges)&&o.maxBridges>0?Math.min(o.maxBridges,500):0,g=Array.isArray(o.tiers)?o.tiers.map(e=>String(e).toUpperCase()).filter(e=>"SABCD".includes(e)&&1===e.length):[],m="score"===o.order?"score":"newest",S=[10,25,50,100].includes(o.maxPages)?o.maxPages:100,T=s.startsWith("auto-bridge")||["bridge","rescrape","resume","resume-all"].includes(s),x=!0===o.deeper&&(s.startsWith("auto-bridge")||"bridge"===s),D=null;if(d.needsName){let e;if(!(D=!(e=String(o.name??"").trim())||e.length>120||/[\u0000-\u001f]/.test(e)?null:e))return Response.json({error:"A name is required for this action."},{status:400})}let _=null;if(d.needsId){try{let e,t=(0,i.resolveProfile)({create:!1}),n=t&&(0,R.getDb)().prepare("SELECT profile_url FROM linkedin_connections WHERE id = ? AND user_id = ? AND degree = 1").get(String(o.id??""),t.id);_=n?.profile_url&&(u=n.profile_url,(e=String(u??"").trim()).length>400||/[\u0000-\u001f\s]/.test(e)?null:/^https?:\/\/([a-z]{2,3}\.|www\.)?linkedin\.com\/in\/[^/?#]+\/?$/i.test(e)?e:null)}catch{_=null}if(!_)return Response.json({error:"That connection could not be found."},{status:400})}let P=d.searches||s.startsWith("auto-bridge")||["bridge","rescrape","company","full","refresh"].includes(s),k=b((0,a.dataDir)()).cooldown;if(P&&k)return Response.json({error:`Scanning is paused until ${new Date(k.until).toLocaleString()} — ${k.reason}.`,cooldown:k},{status:409});if(w.running)return Response.json({error:"Something is already running.",action:w.action},{status:409});let I=(0,a.projectRoot)();if(!I)return Response.json({error:"Could not find scripts/scrape.py next to the app."},{status:500});if("install"===s){if(!(l=await N()))return Response.json({error:"Python 3 is not installed, or not on this app’s PATH."},{status:500})}else if(!(l=await C()))return Response.json({error:"The scraper’s packages are not installed yet. Do step 1 first."},{status:409});let O=r.default.join((0,a.dataDir)(),"venv"),M=r.default.join(I,"scripts","requirements.txt"),$="install"===s?[{cmd:l,args:["-m","venv",O],note:"Creating a private Python environment"},{cmd:E(),args:["-m","pip","install","--upgrade","pip"],note:"Updating pip",tolerant:!0},{cmd:E(),args:["-m","pip","install","-r",M],note:"Installing Playwright, requests and Pillow"}]:[{cmd:l,args:[r.default.join(I,"scripts","scrape.py"),...D?[`${d.flag}=${D}`]:_?[`${d.flag}=${_}`]:d.flag.split(" "),...f&&(s.startsWith("auto-bridge")||"resume-all"===s)?[`--max-bridges=${f}`]:[],...g.length&&s.startsWith("auto-bridge")?[`--tiers=${g.join(",")}`]:[],...s.startsWith("auto-bridge")?[`--order=${m}`]:[],...T?[`--max-pages=${s.startsWith("resume")?100:S}`]:[],...x?["--deeper"]:[]]}],U=e.headers.get("host")||"127.0.0.1:3000",F=U.includes(":")?U.split(":").pop():"80";w.running=!0,w.stopping=!1,w.action=s,w.exitCode=null,w.startedAt=Date.now(),w.log=[d.label+(D?` ${D}…`:"…")],w.stderrTail=[],w.failure=null,A={at:0,value:null};let H="";try{H=(0,i.resolveProfile)().id}catch{}let q={...process.env,SIX_DEGREES_USER_ID:H,APP_URL:`http://127.0.0.1:${F}`,PYTHONUNBUFFERED:"1",SIX_DEGREES_ROOT:I,SIX_DEGREES_FROM_APP:"1"};function L(e){if(0!==e&&!w.stopping&&w.stderrTail.length){let e=new Set(w.log),t=w.stderrTail.filter(t=>!e.has(t));t.length&&v(t.join("\n"));let n=w.stderrTail.filter(e=>!/Warning|warnings\.warn\(/.test(e)).slice(-6);w.failure=n.length?n:null}v(w.stopping?"Stopped.":0===e?"Finished.":`Stopped (exit ${e}).`),w.stopping=!1,w.running=!1,w.child=null,w.exitCode=e,A={at:0,value:null}}return!function e(n){let r;if(n>=$.length)return L(0);let a=$[n];a.note&&v(a.note+"…");try{r=(0,t.spawn)(a.cmd,a.args,{cwd:I,env:q,detached:!0})}catch(e){return v(`Could not start: ${e.message}`),L(-1)}w.child=r,r.stdout.on("data",e=>v(e.toString())),r.stderr.on("data",e=>{let t=e.toString();for(let e of t.split("\n")){let t=e.replace(/\s+$/,"");t&&w.stderrTail.push(t)}w.stderrTail.length>20&&w.stderrTail.splice(0,w.stderrTail.length-20),/error|Error|Traceback|No module|failed|externally-managed/.test(t)&&v(t)}),r.on("error",e=>{v(`Could not start: ${e.message}`),L(-1)}),r.on("close",t=>w.stopping?L(t??0):0===t||a.tolerant?void e(n+1):L(t))}(0),Response.json({ok:!0,action:s})}e.s(["GET",0,_,"POST",0,P],81638)},14974,e=>{"use strict";var t=e.i(47909),n=e.i(74017),r=e.i(96250),a=e.i(59756),i=e.i(61916),l=e.i(74677),o=e.i(69741),s=e.i(16795),u=e.i(87718),c=e.i(95169),d=e.i(47587),p=e.i(66012),h=e.i(70101),f=e.i(26937),g=e.i(10372),m=e.i(93695);e.i(52474);var y=e.i(220);let b=new t.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/scraper/route",pathname:"/api/scraper",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/app/api/scraper/route.js",nextConfigOutput:"standalone",userland:()=>e.r(81638),...{}}),{workAsyncStorage:R,workUnitAsyncStorage:w,serverHooks:v}=b;async function S(e,t,r){r.requestMeta&&(0,a.setRequestMeta)(e,r.requestMeta),b.isDev&&(0,a.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let R="/api/scraper/route";R=R.replace(/\/index$/,"")||"/";let w=await b.prepare(e,t,{srcPage:R,multiZoneDraftMode:!1});if(!w)return t.statusCode=400,t.end("Bad Request"),null==r.waitUntil||r.waitUntil.call(r,Promise.resolve()),null;let{buildId:v,deploymentId:S,params:T,nextConfig:E,parsedUrl:C,isDraftMode:N,prerenderManifest:A,routerServerContext:x,isOnDemandRevalidate:D,revalidateOnlyGenerated:_,resolvedPathname:j,clientReferenceManifest:P,serverActionsManifest:k}=w,I=(0,o.normalizeAppPath)(R),O=!!(A.dynamicRoutes[I]||A.routes[j]),M=async()=>((null==x?void 0:x.render404)?await x.render404(e,t,C,!1):t.end("This page could not be found"),null);if(O&&!N){let e=!!A.routes[j],t=A.dynamicRoutes[I];if(t&&!1===t.fallback&&!e){if(E.adapterPath)return await M();throw new m.NoFallbackError}}let $=null;!O||b.isDev||N||($="/index"===($=j)?"/":$);let U=!0===b.isDev||!O,F=O&&!U;k&&P&&(0,l.setManifestsSingleton)({page:R,clientReferenceManifest:P,serverActionsManifest:k});let H=e.method||"GET",q=(0,i.getTracer)(),L=q.getActiveScopeSpan(),G=!!(null==x?void 0:x.isWrappedByNextServer),W=!!(0,a.getRequestMeta)(e,"minimalMode"),B=(0,a.getRequestMeta)(e,"incrementalCache")||await b.getIncrementalCache(e,E,A,W);null==B||B.resetRequestCache(),globalThis.__incrementalCache=B;let K={params:T,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!E.experimental.authInterrupts,useCacheTimeout:E.experimental.useCacheTimeout},cacheComponents:!!E.cacheComponents,validationLevel:E.experimental.instantInsights.validationLevel,supportsDynamicResponse:U,incrementalCache:B,hmrRefreshHash:(0,a.getRequestMeta)(e,"hmrRefreshHash"),cacheLifeProfiles:E.cacheLife,staticPageGenerationTimeout:E.staticPageGenerationTimeout,waitUntil:r.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,n,r,a)=>b.onRequestError(e,t,r,a,x)},sharedContext:{buildId:v,deploymentId:S}},X=new s.NodeNextRequest(e),J=new s.NodeNextResponse(t),Z=u.NextRequestAdapter.fromNodeNextRequest(X,(0,u.signalFromNodeResponse)(t)),V=async({previousCacheEntry:n})=>{try{if(!W&&D&&_&&!n)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let a=await b.handle(Z,K);e.fetchMetrics=K.renderOpts.fetchMetrics;let i=K.renderOpts.pendingWaitUntil;i&&r.waitUntil&&(r.waitUntil(i),i=void 0);let l=K.renderOpts.collectedTags;if(!O)return await (0,p.sendResponse)(X,J,a,i),null;{let e=await a.blob(),t=(0,h.toNodeOutgoingHttpHeaders)(a.headers);l&&(t[g.NEXT_CACHE_TAGS_HEADER]=l),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let n=void 0!==K.renderOpts.collectedRevalidate&&!(K.renderOpts.collectedRevalidate>=g.INFINITE_CACHE)&&K.renderOpts.collectedRevalidate,r=void 0===K.renderOpts.collectedExpire||K.renderOpts.collectedExpire>=g.INFINITE_CACHE?!1!==n&&n>0?E.expireTime:void 0:K.renderOpts.collectedExpire;return{value:{kind:y.CachedRouteKind.APP_ROUTE,status:a.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:n,expire:r}}}}catch(t){throw(null==n?void 0:n.isStale)&&await b.onRequestError(e,t,{routerKind:"App Router",routePath:R,routeType:"route",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:F,isOnDemandRevalidate:D})},!1,x),t}},z=async(a,l)=>{try{var o,s;let a=await b.handleResponse({req:e,nextConfig:E,cacheKey:$,routeKind:n.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:_,responseGenerator:V,waitUntil:r.waitUntil,isMinimalMode:W});if(!O)return;if((null==a||null==(o=a.value)?void 0:o.kind)!==y.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==a||null==(s=a.value)?void 0:s.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});W||t.setHeader("x-nextjs-cache",D?"REVALIDATED":a.isMiss?"MISS":a.isStale?"STALE":"HIT"),N&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let i=(0,h.fromNodeOutgoingHttpHeaders)(a.value.headers);W&&O||i.delete(g.NEXT_CACHE_TAGS_HEADER),!a.cacheControl||t.getHeader("Cache-Control")||i.get("Cache-Control")||i.set("Cache-Control",(0,f.getCacheControlHeader)(a.cacheControl)),await (0,p.sendResponse)(X,J,new Response(a.value.body,{headers:i,status:a.value.status||200}));return}catch(t){if(t instanceof m.NoFallbackError||await b.onRequestError(e,t,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:F,isOnDemandRevalidate:D})},!1,x),O)throw t;await (0,p.sendResponse)(X,J,new Response(null,{status:500}));return}finally{(()=>{if(!a)return;let e=t.statusCode;a.setAttributes({"http.status_code":e,"next.rsc":!1}),e&&e>=500&&(a.setStatus({code:i.SpanStatusCode.ERROR}),a.setAttribute("error.type",e.toString()));let n=q.getRootSpanAttributes();if(!n)return;if(n.get("next.span_type")!==c.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${n.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let r=n.get("next.route")||I,o=`${H} ${r}`;a.setAttributes({"next.route":r,"http.route":r,"next.span_name":o}),a.updateName(o),l&&l!==a&&(l.setAttribute("http.route",r),l.updateName(o))})()}};if(G&&L)await z(L,void 0);else{let t=q.getActiveScopeSpan();await q.withPropagatedContext(e.headers,()=>q.trace(c.BaseServerSpan.handleRequest,{spanName:`${H} ${R}`,kind:i.SpanKind.SERVER,attributes:{"http.method":H,"http.target":e.url}},e=>z(e,t)),void 0,!G)}}e.s(["handler",0,S,"patchFetch",0,function(){return(0,r.patchFetch)({workAsyncStorage:R,workUnitAsyncStorage:w})},"routeModule",0,b,"serverHooks",0,v,"workAsyncStorage",0,R,"workUnitAsyncStorage",0,w])}];
|
|
4
4
|
|
|
5
5
|
//# sourceMappingURL=_1_fynia._.js.map
|