nielsr HF Staff commited on
Commit
0ea759d
·
verified ·
1 Parent(s): 2939a2f

Sync paperswithcode.co frontend

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .vite/manifest.json +858 -855
  2. assets/{AgentLogos-e4Q9yKFL.js → AgentLogos-B7GloLDi.js} +1 -1
  3. assets/{AiDeadlinesView-DAQIk91K.js → AiDeadlinesView-BKnW1yMt.js} +1 -1
  4. assets/ApiDocsView-6Ap3MJq-.js +0 -9
  5. assets/ApiDocsView-CTVtXHbx.css +1 -0
  6. assets/ApiDocsView-Cl7PFBES.js +29 -0
  7. assets/ApiDocsView-DPuMdYvY.css +0 -1
  8. assets/{AreaSection-BE-V9m-Z.js → AreaSection-0kfCUYRS.js} +1 -1
  9. assets/{AstraForRoboticsView-CjsH6UFy.js → AstraForRoboticsView-D28_KdB0.js} +1 -1
  10. assets/{AuthorAvatar-CrqIFv87.js → AuthorAvatar-Cn_8_omA.js} +1 -1
  11. assets/{AuthorDetailView-CbTOaBV0.js → AuthorDetailView-BoKDdqho.js} +1 -1
  12. assets/{AuthorizePaperEditView-DJGKbVT2.js → AuthorizePaperEditView-BOB-cTLQ.js} +1 -1
  13. assets/{AutonomousOperations-uNS0X_ez.js → AutonomousOperations-BoDBu2Ao.js} +1 -1
  14. assets/{BenchmarkDetailView-D6qZ3lao.js → BenchmarkDetailView-C5nz6Xbj.js} +1 -1
  15. assets/{BenchmarkTrendSparkline-C8X1e25R.js → BenchmarkTrendSparkline-CXgXdB42.js} +1 -1
  16. assets/{CatalogEntityPreviewLink-C7EwyTwf.js → CatalogEntityPreviewLink-DwN4bhsl.js} +1 -1
  17. assets/{ChatView-CMpbQGIz.js → ChatView-8yB6zv-u.js} +1 -1
  18. assets/{ConferenceDetailView-D2MpC-eC.js → ConferenceDetailView-C9rZb6Fb.js} +1 -1
  19. assets/{ConferenceTaskView-Dvn6NqvW.js → ConferenceTaskView-CshfYFH5.js} +1 -1
  20. assets/{ConferencesIndexView-ECp8BQb1.js → ConferencesIndexView-CH45BsDK.js} +1 -1
  21. assets/{CronDashboard-Da_8NzAt.js → CronDashboard-Bu3MjRtq.js} +1 -1
  22. assets/{CronDashboard-BOJMFcK-.js → CronDashboard-CgUGs6ks.js} +1 -1
  23. assets/{ExternalSourceEvalBadge-B05mXvbN.js → ExternalSourceEvalBadge-BfVErjNU.js} +1 -1
  24. assets/{FeedView-ZR3JgROG.js → FeedView-DvMSmEBv.js} +1 -1
  25. assets/FollowingView-Ef0rRbud.js +1 -0
  26. assets/FollowingView-dy9LQoEt.js +0 -1
  27. assets/{FrameworksIndexView-uSsXnvho.js → FrameworksIndexView-flSR2rox.js} +1 -1
  28. assets/{Icon-N8z7DeBC.js → Icon-BrPPGkYF.js} +1 -1
  29. assets/{LatexTitle-CgJviprz.js → LatexTitle-TFtKXSOA.js} +1 -1
  30. assets/{LoadFailurePage-BY9gZYyL.js → LoadFailurePage-DERO_21B.js} +1 -1
  31. assets/{MarkdownText-B-aaimeS.js → MarkdownText-BFhqzZUc.js} +2 -2
  32. assets/MathMarkdownText-B0eyA1iV.js +0 -1
  33. assets/MathMarkdownText-ClIBlvfP.js +1 -0
  34. assets/{McpShowcase-CWi38Cpu.js → McpShowcase-DuGSlHLG.js} +1 -1
  35. assets/{McpView-DMUB2-HT.js → McpView-DyrHDWUu.js} +1 -1
  36. assets/{MethodDetailView-BL39zEst.js → MethodDetailView-DMGxspr_.js} +1 -1
  37. assets/{MethodsIndexView-Dt5P63Vd.js → MethodsIndexView-CAchc0n6.js} +1 -1
  38. assets/{NotFound-DzpdCi9I.js → NotFound-DDD3QkLQ.js} +1 -1
  39. assets/{OrganizationContributionGraph-C24r13Sj.js → OrganizationContributionGraph-BdogQKhU.js} +1 -1
  40. assets/{OrganizationDetailView-D7K3gRgV.js → OrganizationDetailView-B02_rOAe.js} +1 -1
  41. assets/{OrganizationsIndexView-DA9HedTB.js → OrganizationsIndexView-ZHhPKK_D.js} +1 -1
  42. assets/{PaperCard-BXiZHon_.js → PaperCard-CrdVyQE8.js} +1 -1
  43. assets/{PaperDetailView-D4VY4iU8.js → PaperDetailView-CoP4_lkz.js} +1 -1
  44. assets/{PaperPreviewLink-hxmZ3UPf.js → PaperPreviewLink-Dvvn-oU_.js} +1 -1
  45. assets/{PaperReaderView-B4rJYvNC.js → PaperReaderView-B2w337O4.js} +1 -1
  46. assets/{PapersListView-HiPw5d_R.js → PapersListView-BHQ1Gxhq.js} +1 -1
  47. assets/{PrivacyView-XPFVudQH.js → PrivacyView-DBM7Poji.js} +1 -1
  48. assets/{RateLimitsView-BFAbOTCd.js → RateLimitsView-BfkqehsC.js} +1 -1
  49. assets/{ResearchFollowButton-g73yztEC.js → ResearchFollowButton-BCIfaLgE.js} +1 -1
  50. assets/{SavedPapersView-NMkvSPSL.js → SavedPapersView-CoqLkNnl.js} +1 -1
.vite/manifest.json CHANGED
@@ -1,25 +1,25 @@
1
  {
2
- "_AgentLogos-e4Q9yKFL.js": {
3
- "file": "assets/AgentLogos-e4Q9yKFL.js",
4
  "name": "AgentLogos",
5
  "imports": [
6
  "index.html"
7
  ]
8
  },
9
- "_AreaSection-BE-V9m-Z.js": {
10
- "file": "assets/AreaSection-BE-V9m-Z.js",
11
  "name": "AreaSection",
12
  "imports": [
13
  "index.html",
14
- "_skeleton-CKwY1CoC.js"
15
  ]
16
  },
17
  "_AuthorAvatar-!~{017}~.js": {
18
  "file": "assets/AuthorAvatar-o5W6pl_W.css",
19
  "src": "_AuthorAvatar-!~{017}~.js"
20
  },
21
- "_AuthorAvatar-CrqIFv87.js": {
22
- "file": "assets/AuthorAvatar-CrqIFv87.js",
23
  "name": "AuthorAvatar",
24
  "imports": [
25
  "index.html"
@@ -28,27 +28,27 @@
28
  "assets/AuthorAvatar-o5W6pl_W.css"
29
  ]
30
  },
31
- "_BenchmarkTrendSparkline-C8X1e25R.js": {
32
- "file": "assets/BenchmarkTrendSparkline-C8X1e25R.js",
33
  "name": "BenchmarkTrendSparkline",
34
  "imports": [
35
  "index.html"
36
  ]
37
  },
38
- "_CatalogEntityPreviewLink-C7EwyTwf.js": {
39
- "file": "assets/CatalogEntityPreviewLink-C7EwyTwf.js",
40
  "name": "CatalogEntityPreviewLink",
41
  "imports": [
42
  "index.html",
43
- "_hover-card-9NlCSWPH.js"
44
  ]
45
  },
46
  "_CronDashboard-!~{022}~.js": {
47
  "file": "assets/CronDashboard-DwChfW9h.css",
48
  "src": "_CronDashboard-!~{022}~.js"
49
  },
50
- "_CronDashboard-Da_8NzAt.js": {
51
- "file": "assets/CronDashboard-Da_8NzAt.js",
52
  "name": "CronDashboard",
53
  "imports": [
54
  "index.html"
@@ -61,27 +61,27 @@
61
  "file": "assets/ExternalSourceEvalBadge-CWUQ52cV.css",
62
  "src": "_ExternalSourceEvalBadge-!~{01L}~.js"
63
  },
64
- "_ExternalSourceEvalBadge-B05mXvbN.js": {
65
- "file": "assets/ExternalSourceEvalBadge-B05mXvbN.js",
66
  "name": "ExternalSourceEvalBadge",
67
  "imports": [
68
  "index.html",
69
- "_hover-card-9NlCSWPH.js",
70
  "_safeExternalHref-CkBrsh84.js"
71
  ],
72
  "css": [
73
  "assets/ExternalSourceEvalBadge-CWUQ52cV.css"
74
  ]
75
  },
76
- "_Icon-N8z7DeBC.js": {
77
- "file": "assets/Icon-N8z7DeBC.js",
78
  "name": "Icon",
79
  "imports": [
80
  "index.html"
81
  ]
82
  },
83
- "_LatexTitle-CgJviprz.js": {
84
- "file": "assets/LatexTitle-CgJviprz.js",
85
  "name": "LatexTitle",
86
  "imports": [
87
  "index.html"
@@ -90,107 +90,107 @@
90
  "node_modules/katex/dist/katex.mjs"
91
  ]
92
  },
93
- "_LoadFailurePage-BY9gZYyL.js": {
94
- "file": "assets/LoadFailurePage-BY9gZYyL.js",
95
  "name": "LoadFailurePage",
96
  "imports": [
97
  "index.html",
98
- "_alert-BAtahhuM.js",
99
  "src/pages/NotFound.tsx"
100
  ]
101
  },
102
- "_MarkdownText-B-aaimeS.js": {
103
- "file": "assets/MarkdownText-B-aaimeS.js",
104
  "name": "MarkdownText",
105
  "imports": [
106
  "index.html",
107
- "_PaperPreviewLink-hxmZ3UPf.js",
108
- "_index-Duxgh9kf.js",
109
- "_index-BPdKbxHa.js"
110
  ],
111
  "dynamicImports": [
112
  "src/components/MathMarkdownText.tsx"
113
  ]
114
  },
115
- "_McpShowcase-CWi38Cpu.js": {
116
- "file": "assets/McpShowcase-CWi38Cpu.js",
117
  "name": "McpShowcase",
118
  "imports": [
119
  "index.html",
120
- "_AgentLogos-e4Q9yKFL.js"
121
  ]
122
  },
123
- "_OrganizationContributionGraph-C24r13Sj.js": {
124
- "file": "assets/OrganizationContributionGraph-C24r13Sj.js",
125
  "name": "OrganizationContributionGraph",
126
  "imports": [
127
  "index.html",
128
- "_skeleton-CKwY1CoC.js"
129
  ]
130
  },
131
- "_PaperCard-BXiZHon_.js": {
132
- "file": "assets/PaperCard-BXiZHon_.js",
133
  "name": "PaperCard",
134
  "imports": [
135
  "index.html",
136
- "_AuthorAvatar-CrqIFv87.js",
137
- "_SotaBadges-GpZeMWYD.js",
138
- "_Icon-N8z7DeBC.js",
139
- "_LatexTitle-CgJviprz.js",
140
  "_safeExternalHref-CkBrsh84.js"
141
  ]
142
  },
143
- "_PaperPreviewLink-hxmZ3UPf.js": {
144
- "file": "assets/PaperPreviewLink-hxmZ3UPf.js",
145
  "name": "PaperPreviewLink",
146
  "imports": [
147
- "_index-Duxgh9kf.js",
148
- "_index-BPdKbxHa.js",
149
  "index.html",
150
- "_hover-card-9NlCSWPH.js",
151
- "_useMutation-BhCRLa1t.js"
152
  ]
153
  },
154
- "_ResearchFollowButton-g73yztEC.js": {
155
- "file": "assets/ResearchFollowButton-g73yztEC.js",
156
  "name": "ResearchFollowButton",
157
  "imports": [
158
  "index.html",
159
- "_researchTopic-Dwh-aCTS.js",
160
- "_plus-Bou0iMb2.js"
161
  ]
162
  },
163
- "_SignInToEditDialog-CpHMTStF.js": {
164
- "file": "assets/SignInToEditDialog-CpHMTStF.js",
165
  "name": "SignInToEditDialog",
166
  "imports": [
167
  "index.html",
168
- "_button-TvGRvG4J.js",
169
- "_input-CJSZmrSu.js",
170
- "_textarea-CIb9tSG4.js",
171
- "_searchable-select-CmqairTa.js",
172
- "_dialog-DR9by6nD.js",
173
- "_useMutation-BhCRLa1t.js",
174
- "_submissions-Cm7h93Uo.js",
175
- "_loader-circle-BW9ed20f.js"
176
- ]
177
- },
178
- "_SotaBadges-GpZeMWYD.js": {
179
- "file": "assets/SotaBadges-GpZeMWYD.js",
180
  "name": "SotaBadges",
181
  "imports": [
182
  "index.html",
183
  "_colors-BkWRhvFI.js",
184
- "_transform-WCen521A.js"
185
  ]
186
  },
187
- "_TaxonomySuggestionTile-CIF_PBKQ.js": {
188
- "file": "assets/TaxonomySuggestionTile-CIF_PBKQ.js",
189
  "name": "TaxonomySuggestionTile",
190
  "imports": [
191
  "index.html",
192
- "_SignInToEditDialog-CpHMTStF.js",
193
- "_plus-Bou0iMb2.js"
194
  ]
195
  },
196
  "__vite-browser-external": {
@@ -199,15 +199,15 @@
199
  "src": "__vite-browser-external",
200
  "isDynamicEntry": true
201
  },
202
- "_activity-DFBWkfMu.js": {
203
- "file": "assets/activity-DFBWkfMu.js",
204
  "name": "activity",
205
  "imports": [
206
  "index.html"
207
  ]
208
  },
209
- "_alert-BAtahhuM.js": {
210
- "file": "assets/alert-BAtahhuM.js",
211
  "name": "alert",
212
  "imports": [
213
  "index.html"
@@ -217,50 +217,50 @@
217
  "file": "assets/areas-Dvi8w2dp.js",
218
  "name": "areas"
219
  },
220
- "_arrow-left-C4iqM9DK.js": {
221
- "file": "assets/arrow-left-C4iqM9DK.js",
222
  "name": "arrow-left",
223
  "imports": [
224
  "index.html"
225
  ]
226
  },
227
- "_arrow-right-rRg_3O3k.js": {
228
- "file": "assets/arrow-right-rRg_3O3k.js",
229
  "name": "arrow-right",
230
  "imports": [
231
  "index.html"
232
  ]
233
  },
234
- "_arrow-up-right-B1sXz8jv.js": {
235
- "file": "assets/arrow-up-right-B1sXz8jv.js",
236
  "name": "arrow-up-right",
237
  "imports": [
238
  "index.html"
239
  ]
240
  },
241
- "_badge-CmRkIQyK.js": {
242
- "file": "assets/badge-CmRkIQyK.js",
243
  "name": "badge",
244
  "imports": [
245
  "index.html"
246
  ]
247
  },
248
- "_button-TvGRvG4J.js": {
249
- "file": "assets/button-TvGRvG4J.js",
250
  "name": "button",
251
  "imports": [
252
  "index.html"
253
  ]
254
  },
255
- "_cacheSync-BJW-wKQF.js": {
256
- "file": "assets/cacheSync-BJW-wKQF.js",
257
  "name": "cacheSync",
258
  "imports": [
259
  "index.html"
260
  ]
261
  },
262
- "_chat-BY6jjJTm.js": {
263
- "file": "assets/chat-BY6jjJTm.js",
264
  "name": "chat",
265
  "imports": [
266
  "index.html"
@@ -270,31 +270,31 @@
270
  "file": "assets/chatLifecycle-Lr_OJaUk.css",
271
  "src": "_chatLifecycle-!~{01l}~.js"
272
  },
273
- "_chatLifecycle-BTYJyrKZ.js": {
274
- "file": "assets/chatLifecycle-BTYJyrKZ.js",
275
  "name": "chatLifecycle",
276
  "imports": [
277
  "index.html",
278
- "_index-C_jL3wwd.js",
279
- "_hover-card-9NlCSWPH.js",
280
- "_CatalogEntityPreviewLink-C7EwyTwf.js",
281
- "_github-4Cp2qYOr.js",
282
- "_file-text-Cw24822N.js",
283
- "_PaperPreviewLink-hxmZ3UPf.js",
284
- "_index-Duxgh9kf.js",
285
- "_index-CT4oVNDi.js",
286
- "_index-BPdKbxHa.js",
287
- "_useMutation-BhCRLa1t.js",
288
- "_chat-BY6jjJTm.js",
289
- "_thumbs-up-DfqmZFje.js",
290
- "_copy-DlnZdlrV.js",
291
- "_arrow-left-C4iqM9DK.js",
292
- "_external-link-BQKIF2kZ.js",
293
- "_plus-Bou0iMb2.js",
294
- "_search-BCfgkzCD.js",
295
- "_chevron-up-oWUehGsz.js",
296
- "_AuthorAvatar-CrqIFv87.js",
297
- "_trash-2-D_ry9pGs.js"
298
  ],
299
  "dynamicImports": [
300
  "__vite-browser-external",
@@ -369,15 +369,15 @@
369
  "assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf"
370
  ]
371
  },
372
- "_chevron-up-oWUehGsz.js": {
373
- "file": "assets/chevron-up-oWUehGsz.js",
374
  "name": "chevron-up",
375
  "imports": [
376
  "index.html"
377
  ]
378
  },
379
- "_circle-check-B-EyMkil.js": {
380
- "file": "assets/circle-check-B-EyMkil.js",
381
  "name": "circle-check",
382
  "imports": [
383
  "index.html"
@@ -391,15 +391,15 @@
391
  "file": "assets/conferenceListings-BnmhBx-_.js",
392
  "name": "conferenceListings"
393
  },
394
- "_copy-DlnZdlrV.js": {
395
- "file": "assets/copy-DlnZdlrV.js",
396
  "name": "copy",
397
  "imports": [
398
  "index.html"
399
  ]
400
  },
401
- "_database-0Wk20GLl.js": {
402
- "file": "assets/database-0Wk20GLl.js",
403
  "name": "database",
404
  "imports": [
405
  "index.html"
@@ -409,22 +409,22 @@
409
  "file": "assets/deadlines-BG5SWwEG.js",
410
  "name": "deadlines"
411
  },
412
- "_dialog-DR9by6nD.js": {
413
- "file": "assets/dialog-DR9by6nD.js",
414
  "name": "dialog",
415
  "imports": [
416
  "index.html"
417
  ]
418
  },
419
- "_external-link-BQKIF2kZ.js": {
420
- "file": "assets/external-link-BQKIF2kZ.js",
421
  "name": "external-link",
422
  "imports": [
423
  "index.html"
424
  ]
425
  },
426
- "_file-text-Cw24822N.js": {
427
- "file": "assets/file-text-Cw24822N.js",
428
  "name": "file-text",
429
  "imports": [
430
  "index.html"
@@ -434,22 +434,22 @@
434
  "file": "assets/frameworks-DDA0P4Tf.js",
435
  "name": "frameworks"
436
  },
437
- "_github-4Cp2qYOr.js": {
438
- "file": "assets/github-4Cp2qYOr.js",
439
  "name": "github",
440
  "imports": [
441
  "index.html"
442
  ]
443
  },
444
- "_globe-DfflNEeG.js": {
445
- "file": "assets/globe-DfflNEeG.js",
446
  "name": "globe",
447
  "imports": [
448
  "index.html"
449
  ]
450
  },
451
- "_hover-card-9NlCSWPH.js": {
452
- "file": "assets/hover-card-9NlCSWPH.js",
453
  "name": "hover-card",
454
  "imports": [
455
  "index.html"
@@ -459,98 +459,98 @@
459
  "file": "assets/index-Cw6yAXSE.css",
460
  "src": "_index-!~{00_}~.js"
461
  },
462
- "_index-BPdKbxHa.js": {
463
- "file": "assets/index-BPdKbxHa.js",
464
  "name": "index",
465
  "imports": [
466
- "_index-Duxgh9kf.js"
 
467
  ]
468
  },
469
- "_index-CT4oVNDi.js": {
470
- "file": "assets/index-CT4oVNDi.js",
471
  "name": "index",
472
  "imports": [
473
- "_index-Duxgh9kf.js",
474
- "node_modules/katex/dist/katex.mjs"
475
  ]
476
  },
477
- "_index-C_jL3wwd.js": {
478
- "file": "assets/index-C_jL3wwd.js",
479
  "name": "index",
480
  "imports": [
481
- "index.html",
482
- "_chat-BY6jjJTm.js"
483
- ],
484
- "css": [
485
- "assets/index-Cw6yAXSE.css"
486
  ]
487
  },
488
- "_index-Dr5kpJ2J.js": {
489
- "file": "assets/index-Dr5kpJ2J.js",
490
  "name": "index",
491
  "imports": [
492
- "index.html"
 
 
 
 
493
  ]
494
  },
495
- "_index-Duxgh9kf.js": {
496
- "file": "assets/index-Duxgh9kf.js",
497
  "name": "index",
498
  "imports": [
499
  "index.html"
500
  ]
501
  },
502
- "_input-CJSZmrSu.js": {
503
- "file": "assets/input-CJSZmrSu.js",
504
  "name": "input",
505
  "imports": [
506
  "index.html"
507
  ]
508
  },
509
- "_link-2-DVFqwbJV.js": {
510
- "file": "assets/link-2-DVFqwbJV.js",
511
  "name": "link-2",
512
  "imports": [
513
  "index.html"
514
  ]
515
  },
516
- "_loader-circle-BW9ed20f.js": {
517
- "file": "assets/loader-circle-BW9ed20f.js",
518
  "name": "loader-circle",
519
  "imports": [
520
  "index.html"
521
  ]
522
  },
523
- "_mlIntern-DidbK0Ey.js": {
524
- "file": "assets/mlIntern-DidbK0Ey.js",
525
  "name": "mlIntern",
526
  "imports": [
527
  "index.html"
528
  ]
529
  },
530
- "_moon-D7rwii1q.js": {
531
- "file": "assets/moon-D7rwii1q.js",
532
  "name": "moon",
533
  "imports": [
534
  "index.html"
535
  ]
536
  },
537
- "_openrouter-Cr6qzWUe.js": {
538
- "file": "assets/openrouter-Cr6qzWUe.js",
539
  "name": "openrouter",
540
  "imports": [
541
  "index.html",
542
- "_chat-BY6jjJTm.js"
543
  ]
544
  },
545
  "_organizationNames-BVKzYEBp.js": {
546
  "file": "assets/organizationNames-BVKzYEBp.js",
547
  "name": "organizationNames"
548
  },
549
- "_pageTitles-CNuk5c2y.js": {
550
- "file": "assets/pageTitles-CNuk5c2y.js",
551
  "name": "pageTitles",
552
  "imports": [
553
- "_useDocumentTitle-CK4VxG11.js"
554
  ]
555
  },
556
  "_paperReader-D1y30HyW.js": {
@@ -560,82 +560,82 @@
560
  "_safeExternalHref-CkBrsh84.js"
561
  ]
562
  },
563
- "_plus-Bou0iMb2.js": {
564
- "file": "assets/plus-Bou0iMb2.js",
565
  "name": "plus",
566
  "imports": [
567
  "index.html"
568
  ]
569
  },
570
- "_popover-DRgAhCdU.js": {
571
- "file": "assets/popover-DRgAhCdU.js",
572
  "name": "popover",
573
  "imports": [
574
  "index.html"
575
  ]
576
  },
577
- "_preferences-DZkWR9pP.js": {
578
- "file": "assets/preferences-DZkWR9pP.js",
579
  "name": "preferences",
580
  "imports": [
581
  "index.html",
582
- "_useMutation-BhCRLa1t.js"
583
  ]
584
  },
585
- "_refresh-cw-ClL1E8EZ.js": {
586
- "file": "assets/refresh-cw-ClL1E8EZ.js",
587
  "name": "refresh-cw",
588
  "imports": [
589
  "index.html"
590
  ]
591
  },
592
- "_researchTopic-Dwh-aCTS.js": {
593
- "file": "assets/researchTopic-Dwh-aCTS.js",
594
  "name": "researchTopic",
595
  "imports": [
596
  "index.html",
597
- "_useMutation-BhCRLa1t.js"
598
  ]
599
  },
600
  "_safeExternalHref-CkBrsh84.js": {
601
  "file": "assets/safeExternalHref-CkBrsh84.js",
602
  "name": "safeExternalHref"
603
  },
604
- "_savedPapersAuth-CCZCQuio.js": {
605
- "file": "assets/savedPapersAuth-CCZCQuio.js",
606
  "name": "savedPapersAuth",
607
  "imports": [
608
  "index.html"
609
  ]
610
  },
611
- "_search-BCfgkzCD.js": {
612
- "file": "assets/search-BCfgkzCD.js",
613
  "name": "search",
614
  "imports": [
615
  "index.html"
616
  ]
617
  },
618
- "_searchable-select-CmqairTa.js": {
619
- "file": "assets/searchable-select-CmqairTa.js",
620
  "name": "searchable-select",
621
  "imports": [
622
  "index.html",
623
- "_button-TvGRvG4J.js",
624
- "_popover-DRgAhCdU.js",
625
- "_dialog-DR9by6nD.js",
626
- "_search-BCfgkzCD.js",
627
- "_loader-circle-BW9ed20f.js"
628
  ]
629
  },
630
- "_share-2-DsuTyobU.js": {
631
- "file": "assets/share-2-DsuTyobU.js",
632
  "name": "share-2",
633
  "imports": [
634
  "index.html"
635
  ]
636
  },
637
- "_skeleton-CKwY1CoC.js": {
638
- "file": "assets/skeleton-CKwY1CoC.js",
639
  "name": "skeleton",
640
  "imports": [
641
  "index.html"
@@ -645,163 +645,163 @@
645
  "file": "assets/slug-BpH-Nkvz.js",
646
  "name": "slug"
647
  },
648
- "_submissions-Cm7h93Uo.js": {
649
- "file": "assets/submissions-Cm7h93Uo.js",
650
  "name": "submissions",
651
  "imports": [
652
  "index.html"
653
  ]
654
  },
655
- "_switch-DaSJHMgf.js": {
656
- "file": "assets/switch-DaSJHMgf.js",
657
  "name": "switch",
658
  "imports": [
659
  "index.html",
660
- "_index-Dr5kpJ2J.js"
661
  ]
662
  },
663
- "_taskIcons-DtQk_t1Z.js": {
664
- "file": "assets/taskIcons-DtQk_t1Z.js",
665
  "name": "taskIcons",
666
  "imports": [
667
  "index.html",
668
- "_search-BCfgkzCD.js",
669
- "_triangle-alert-C9Pn0RtQ.js",
670
- "_share-2-DsuTyobU.js",
671
- "_trending-up-DYoC6LwW.js",
672
- "_moon-D7rwii1q.js",
673
- "_thumbs-up-DfqmZFje.js",
674
- "_database-0Wk20GLl.js",
675
- "_link-2-DVFqwbJV.js",
676
- "_trophy-Ba-QU5Ik.js",
677
- "_file-text-Cw24822N.js",
678
- "_activity-DFBWkfMu.js",
679
- "_globe-DfflNEeG.js"
680
- ]
681
- },
682
- "_textarea-CIb9tSG4.js": {
683
- "file": "assets/textarea-CIb9tSG4.js",
684
  "name": "textarea",
685
  "imports": [
686
  "index.html"
687
  ]
688
  },
689
- "_thumbs-up-DfqmZFje.js": {
690
- "file": "assets/thumbs-up-DfqmZFje.js",
691
  "name": "thumbs-up",
692
  "imports": [
693
  "index.html"
694
  ]
695
  },
696
- "_transform-WCen521A.js": {
697
- "file": "assets/transform-WCen521A.js",
698
  "name": "transform",
699
  "imports": [
700
  "index.html"
701
  ]
702
  },
703
- "_trash-2-D_ry9pGs.js": {
704
- "file": "assets/trash-2-D_ry9pGs.js",
705
  "name": "trash-2",
706
  "imports": [
707
  "index.html"
708
  ]
709
  },
710
- "_trending-up-DYoC6LwW.js": {
711
- "file": "assets/trending-up-DYoC6LwW.js",
712
  "name": "trending-up",
713
  "imports": [
714
  "index.html"
715
  ]
716
  },
717
- "_triangle-alert-C9Pn0RtQ.js": {
718
- "file": "assets/triangle-alert-C9Pn0RtQ.js",
719
  "name": "triangle-alert",
720
  "imports": [
721
  "index.html"
722
  ]
723
  },
724
- "_trophy-Ba-QU5Ik.js": {
725
- "file": "assets/trophy-Ba-QU5Ik.js",
726
  "name": "trophy",
727
  "imports": [
728
  "index.html"
729
  ]
730
  },
731
- "_undo-2-Byv3xhFy.js": {
732
- "file": "assets/undo-2-Byv3xhFy.js",
733
  "name": "undo-2",
734
  "imports": [
735
  "index.html"
736
  ]
737
  },
738
- "_useDebounce-DluHgsjc.js": {
739
- "file": "assets/useDebounce-DluHgsjc.js",
740
  "name": "useDebounce",
741
  "imports": [
742
  "index.html"
743
  ]
744
  },
745
- "_useDocumentTitle-CK4VxG11.js": {
746
- "file": "assets/useDocumentTitle-CK4VxG11.js",
747
  "name": "useDocumentTitle",
748
  "imports": [
749
  "index.html"
750
  ]
751
  },
752
- "_useHashScrollOnReady-IVSovUgL.js": {
753
- "file": "assets/useHashScrollOnReady-IVSovUgL.js",
754
  "name": "useHashScrollOnReady",
755
  "imports": [
756
  "index.html",
757
- "_skeleton-CKwY1CoC.js",
758
- "_alert-BAtahhuM.js",
759
- "_trending-up-DYoC6LwW.js"
760
  ]
761
  },
762
- "_useInfiniteQuery-hVKCzcm1.js": {
763
- "file": "assets/useInfiniteQuery-hVKCzcm1.js",
764
  "name": "useInfiniteQuery",
765
  "imports": [
766
  "index.html"
767
  ]
768
  },
769
- "_useIntersectionObserver-CK36kpUi.js": {
770
- "file": "assets/useIntersectionObserver-CK36kpUi.js",
771
  "name": "useIntersectionObserver",
772
  "imports": [
773
  "index.html"
774
  ]
775
  },
776
- "_useMutation-BhCRLa1t.js": {
777
- "file": "assets/useMutation-BhCRLa1t.js",
778
  "name": "useMutation",
779
  "imports": [
780
  "index.html"
781
  ]
782
  },
783
- "_usePapers-DbWhzgNx.js": {
784
- "file": "assets/usePapers-DbWhzgNx.js",
785
  "name": "usePapers",
786
  "imports": [
787
  "index.html",
788
- "_PaperCard-BXiZHon_.js",
789
- "_popover-DRgAhCdU.js",
790
- "_Icon-N8z7DeBC.js",
791
- "_skeleton-CKwY1CoC.js",
792
- "_useIntersectionObserver-CK36kpUi.js",
793
- "_useInfiniteQuery-hVKCzcm1.js"
794
  ]
795
  },
796
- "_useQueries-Cwsmx9Ux.js": {
797
- "file": "assets/useQueries-Cwsmx9Ux.js",
798
  "name": "useQueries",
799
  "imports": [
800
  "index.html"
801
  ]
802
  },
803
  "index.html": {
804
- "file": "assets/index-DL_JM2Ot.js",
805
  "name": "index",
806
  "src": "index.html",
807
  "isEntry": true,
@@ -1193,19 +1193,19 @@
1193
  "src": "src/assets/fonts/newsreader-normal-vietnamese.woff2"
1194
  },
1195
  "src/components/MathMarkdownText.tsx": {
1196
- "file": "assets/MathMarkdownText-B0eyA1iV.js",
1197
  "name": "MathMarkdownText",
1198
  "src": "src/components/MathMarkdownText.tsx",
1199
  "isDynamicEntry": true,
1200
  "imports": [
1201
  "index.html",
1202
- "_MarkdownText-B-aaimeS.js",
1203
- "_index-CT4oVNDi.js",
1204
- "_PaperPreviewLink-hxmZ3UPf.js",
1205
- "_index-Duxgh9kf.js",
1206
- "_index-BPdKbxHa.js",
1207
- "_hover-card-9NlCSWPH.js",
1208
- "_useMutation-BhCRLa1t.js",
1209
  "node_modules/katex/dist/katex.mjs"
1210
  ],
1211
  "css": [
@@ -1274,61 +1274,61 @@
1274
  ]
1275
  },
1276
  "src/components/SearchOverlay.tsx": {
1277
- "file": "assets/SearchOverlay-CyAHOAc8.js",
1278
  "name": "SearchOverlay",
1279
  "src": "src/components/SearchOverlay.tsx",
1280
  "isDynamicEntry": true,
1281
  "imports": [
1282
  "index.html",
1283
- "_LatexTitle-CgJviprz.js",
1284
- "_useDebounce-DluHgsjc.js",
1285
  "_colors-BkWRhvFI.js",
1286
- "_transform-WCen521A.js"
1287
  ]
1288
  },
1289
  "src/pages/AutonomousOperations.tsx": {
1290
- "file": "assets/AutonomousOperations-uNS0X_ez.js",
1291
  "name": "AutonomousOperations",
1292
  "src": "src/pages/AutonomousOperations.tsx",
1293
  "isDynamicEntry": true,
1294
  "imports": [
1295
  "index.html",
1296
- "_useMutation-BhCRLa1t.js",
1297
- "_CronDashboard-Da_8NzAt.js",
1298
- "_badge-CmRkIQyK.js",
1299
- "_button-TvGRvG4J.js",
1300
- "_input-CJSZmrSu.js",
1301
- "_activity-DFBWkfMu.js",
1302
- "_arrow-left-C4iqM9DK.js"
1303
  ]
1304
  },
1305
  "src/pages/CronDashboard.tsx": {
1306
- "file": "assets/CronDashboard-BOJMFcK-.js",
1307
  "name": "CronDashboard",
1308
  "src": "src/pages/CronDashboard.tsx",
1309
  "isDynamicEntry": true,
1310
  "imports": [
1311
  "index.html",
1312
- "_useMutation-BhCRLa1t.js",
1313
- "_CronDashboard-Da_8NzAt.js",
1314
- "_badge-CmRkIQyK.js",
1315
- "_button-TvGRvG4J.js",
1316
- "_chevron-up-oWUehGsz.js",
1317
- "_database-0Wk20GLl.js",
1318
- "_trending-up-DYoC6LwW.js",
1319
- "_activity-DFBWkfMu.js",
1320
- "_file-text-Cw24822N.js",
1321
- "_triangle-alert-C9Pn0RtQ.js",
1322
- "_external-link-BQKIF2kZ.js",
1323
- "_refresh-cw-ClL1E8EZ.js",
1324
- "_loader-circle-BW9ed20f.js",
1325
- "_circle-check-B-EyMkil.js",
1326
- "_useInfiniteQuery-hVKCzcm1.js",
1327
- "_chat-BY6jjJTm.js"
1328
  ]
1329
  },
1330
  "src/pages/NotFound.tsx": {
1331
- "file": "assets/NotFound-DzpdCi9I.js",
1332
  "name": "NotFound",
1333
  "src": "src/pages/NotFound.tsx",
1334
  "isDynamicEntry": true,
@@ -1337,194 +1337,197 @@
1337
  ]
1338
  },
1339
  "src/pages/SubmissionsDashboard.tsx": {
1340
- "file": "assets/SubmissionsDashboard-C74xGSPm.js",
1341
  "name": "SubmissionsDashboard",
1342
  "src": "src/pages/SubmissionsDashboard.tsx",
1343
  "isDynamicEntry": true,
1344
  "imports": [
1345
  "index.html",
1346
- "_cacheSync-BJW-wKQF.js",
1347
- "_useMutation-BhCRLa1t.js",
1348
- "_useInfiniteQuery-hVKCzcm1.js",
1349
- "_useQueries-Cwsmx9Ux.js",
1350
  "_safeExternalHref-CkBrsh84.js",
1351
- "_submissions-Cm7h93Uo.js",
1352
- "_refresh-cw-ClL1E8EZ.js",
1353
- "_loader-circle-BW9ed20f.js",
1354
- "_circle-check-B-EyMkil.js",
1355
- "_undo-2-Byv3xhFy.js"
1356
  ],
1357
  "css": [
1358
  "assets/SubmissionsDashboard-Dgd_CI1v.css"
1359
  ]
1360
  },
1361
  "src/views/AiDeadlinesView.tsx": {
1362
- "file": "assets/AiDeadlinesView-DAQIk91K.js",
1363
  "name": "AiDeadlinesView",
1364
  "src": "src/views/AiDeadlinesView.tsx",
1365
  "isDynamicEntry": true,
1366
  "imports": [
1367
  "index.html",
1368
- "_switch-DaSJHMgf.js",
1369
- "_skeleton-CKwY1CoC.js",
1370
- "_alert-BAtahhuM.js",
1371
  "_safeExternalHref-CkBrsh84.js",
1372
- "_dialog-DR9by6nD.js",
1373
  "_deadlines-BG5SWwEG.js",
1374
- "_useDocumentTitle-CK4VxG11.js",
1375
- "_pageTitles-CNuk5c2y.js",
1376
- "_index-Dr5kpJ2J.js"
1377
  ]
1378
  },
1379
  "src/views/ApiDocsView.tsx": {
1380
- "file": "assets/ApiDocsView-6Ap3MJq-.js",
1381
  "name": "ApiDocsView",
1382
  "src": "src/views/ApiDocsView.tsx",
1383
  "isDynamicEntry": true,
1384
  "imports": [
1385
  "index.html",
1386
- "_useDocumentTitle-CK4VxG11.js",
1387
- "_index-Duxgh9kf.js"
 
 
 
1388
  ],
1389
  "css": [
1390
- "assets/ApiDocsView-DPuMdYvY.css"
1391
  ]
1392
  },
1393
  "src/views/AstraForRoboticsView.tsx": {
1394
- "file": "assets/AstraForRoboticsView-CjsH6UFy.js",
1395
  "name": "AstraForRoboticsView",
1396
  "src": "src/views/AstraForRoboticsView.tsx",
1397
  "isDynamicEntry": true,
1398
  "imports": [
1399
  "index.html",
1400
- "_usePapers-DbWhzgNx.js",
1401
- "_alert-BAtahhuM.js",
1402
- "_useDocumentTitle-CK4VxG11.js",
1403
- "_transform-WCen521A.js",
1404
- "_PaperCard-BXiZHon_.js",
1405
- "_AuthorAvatar-CrqIFv87.js",
1406
- "_SotaBadges-GpZeMWYD.js",
1407
  "_colors-BkWRhvFI.js",
1408
- "_Icon-N8z7DeBC.js",
1409
- "_LatexTitle-CgJviprz.js",
1410
  "_safeExternalHref-CkBrsh84.js",
1411
- "_popover-DRgAhCdU.js",
1412
- "_skeleton-CKwY1CoC.js",
1413
- "_useIntersectionObserver-CK36kpUi.js",
1414
- "_useInfiniteQuery-hVKCzcm1.js"
1415
  ],
1416
  "css": [
1417
  "assets/AstraForRoboticsView-C_lTF_XB.css"
1418
  ]
1419
  },
1420
  "src/views/AuthorDetailView.tsx": {
1421
- "file": "assets/AuthorDetailView-CbTOaBV0.js",
1422
  "name": "AuthorDetailView",
1423
  "src": "src/views/AuthorDetailView.tsx",
1424
  "isDynamicEntry": true,
1425
  "imports": [
1426
  "index.html",
1427
- "_AuthorAvatar-CrqIFv87.js",
1428
- "_usePapers-DbWhzgNx.js",
1429
- "_ResearchFollowButton-g73yztEC.js",
1430
- "_alert-BAtahhuM.js",
1431
- "_skeleton-CKwY1CoC.js",
1432
- "_transform-WCen521A.js",
1433
  "src/pages/NotFound.tsx",
1434
- "_useDocumentTitle-CK4VxG11.js",
1435
- "_pageTitles-CNuk5c2y.js",
1436
- "_PaperCard-BXiZHon_.js",
1437
- "_SotaBadges-GpZeMWYD.js",
1438
  "_colors-BkWRhvFI.js",
1439
- "_Icon-N8z7DeBC.js",
1440
- "_LatexTitle-CgJviprz.js",
1441
  "_safeExternalHref-CkBrsh84.js",
1442
- "_popover-DRgAhCdU.js",
1443
- "_useIntersectionObserver-CK36kpUi.js",
1444
- "_useInfiniteQuery-hVKCzcm1.js",
1445
- "_researchTopic-Dwh-aCTS.js",
1446
- "_useMutation-BhCRLa1t.js",
1447
- "_plus-Bou0iMb2.js"
1448
  ]
1449
  },
1450
  "src/views/AuthorizePaperEditView.tsx": {
1451
- "file": "assets/AuthorizePaperEditView-DJGKbVT2.js",
1452
  "name": "AuthorizePaperEditView",
1453
  "src": "src/views/AuthorizePaperEditView.tsx",
1454
  "isDynamicEntry": true,
1455
  "imports": [
1456
  "index.html",
1457
- "_useMutation-BhCRLa1t.js",
1458
- "_button-TvGRvG4J.js"
1459
  ]
1460
  },
1461
  "src/views/BenchmarkDetailView.tsx": {
1462
- "file": "assets/BenchmarkDetailView-D6qZ3lao.js",
1463
  "name": "BenchmarkDetailView",
1464
  "src": "src/views/BenchmarkDetailView.tsx",
1465
  "isDynamicEntry": true,
1466
  "imports": [
1467
  "index.html",
1468
- "_ResearchFollowButton-g73yztEC.js",
1469
- "_preferences-DZkWR9pP.js",
1470
- "_LatexTitle-CgJviprz.js",
1471
- "_ExternalSourceEvalBadge-B05mXvbN.js",
1472
- "_switch-DaSJHMgf.js",
1473
- "_Icon-N8z7DeBC.js",
1474
- "_skeleton-CKwY1CoC.js",
1475
- "_BenchmarkTrendSparkline-C8X1e25R.js",
1476
  "_safeExternalHref-CkBrsh84.js",
1477
  "_slug-BpH-Nkvz.js",
1478
  "src/pages/NotFound.tsx",
1479
- "_LoadFailurePage-BY9gZYyL.js",
1480
- "_useDocumentTitle-CK4VxG11.js",
1481
- "_pageTitles-CNuk5c2y.js",
1482
- "_researchTopic-Dwh-aCTS.js",
1483
- "_useMutation-BhCRLa1t.js",
1484
- "_plus-Bou0iMb2.js",
1485
- "_hover-card-9NlCSWPH.js",
1486
- "_index-Dr5kpJ2J.js",
1487
- "_alert-BAtahhuM.js"
1488
  ],
1489
  "css": [
1490
  "assets/BenchmarkDetailView-CXxK75GR.css"
1491
  ]
1492
  },
1493
  "src/views/ChatView.tsx": {
1494
- "file": "assets/ChatView-CMpbQGIz.js",
1495
  "name": "ChatView",
1496
  "src": "src/views/ChatView.tsx",
1497
  "isDynamicEntry": true,
1498
  "imports": [
1499
  "index.html",
1500
- "_chatLifecycle-BTYJyrKZ.js",
1501
- "_index-C_jL3wwd.js",
1502
- "_chat-BY6jjJTm.js",
1503
- "_McpShowcase-CWi38Cpu.js",
1504
- "_share-2-DsuTyobU.js",
1505
- "_useMutation-BhCRLa1t.js",
1506
- "_Icon-N8z7DeBC.js",
1507
- "_mlIntern-DidbK0Ey.js",
1508
- "_openrouter-Cr6qzWUe.js",
1509
- "_hover-card-9NlCSWPH.js",
1510
- "_CatalogEntityPreviewLink-C7EwyTwf.js",
1511
- "_github-4Cp2qYOr.js",
1512
- "_file-text-Cw24822N.js",
1513
- "_PaperPreviewLink-hxmZ3UPf.js",
1514
- "_index-Duxgh9kf.js",
1515
- "_index-BPdKbxHa.js",
1516
- "_index-CT4oVNDi.js",
1517
  "node_modules/katex/dist/katex.mjs",
1518
- "_thumbs-up-DfqmZFje.js",
1519
- "_copy-DlnZdlrV.js",
1520
- "_arrow-left-C4iqM9DK.js",
1521
- "_external-link-BQKIF2kZ.js",
1522
- "_plus-Bou0iMb2.js",
1523
- "_search-BCfgkzCD.js",
1524
- "_chevron-up-oWUehGsz.js",
1525
- "_AuthorAvatar-CrqIFv87.js",
1526
- "_trash-2-D_ry9pGs.js",
1527
- "_AgentLogos-e4Q9yKFL.js"
1528
  ],
1529
  "css": [
1530
  "assets/katex-wklAmtGL.css"
@@ -1592,270 +1595,270 @@
1592
  ]
1593
  },
1594
  "src/views/ConferenceDetailView.tsx": {
1595
- "file": "assets/ConferenceDetailView-D2MpC-eC.js",
1596
  "name": "ConferenceDetailView",
1597
  "src": "src/views/ConferenceDetailView.tsx",
1598
  "isDynamicEntry": true,
1599
  "imports": [
1600
  "index.html",
1601
- "_AreaSection-BE-V9m-Z.js",
1602
- "_MarkdownText-B-aaimeS.js",
1603
  "_areas-Dvi8w2dp.js",
1604
  "_colors-BkWRhvFI.js",
1605
  "_conferenceListings-BnmhBx-_.js",
1606
  "_deadlines-BG5SWwEG.js",
1607
- "_transform-WCen521A.js",
1608
- "_skeleton-CKwY1CoC.js",
1609
  "_safeExternalHref-CkBrsh84.js",
1610
- "_LoadFailurePage-BY9gZYyL.js",
1611
- "_useDocumentTitle-CK4VxG11.js",
1612
- "_pageTitles-CNuk5c2y.js",
1613
- "_PaperPreviewLink-hxmZ3UPf.js",
1614
- "_index-Duxgh9kf.js",
1615
- "_index-BPdKbxHa.js",
1616
- "_hover-card-9NlCSWPH.js",
1617
- "_useMutation-BhCRLa1t.js",
1618
- "_alert-BAtahhuM.js",
1619
  "src/pages/NotFound.tsx"
1620
  ]
1621
  },
1622
  "src/views/ConferenceTaskView.tsx": {
1623
- "file": "assets/ConferenceTaskView-Dvn6NqvW.js",
1624
  "name": "ConferenceTaskView",
1625
  "src": "src/views/ConferenceTaskView.tsx",
1626
  "isDynamicEntry": true,
1627
  "imports": [
1628
  "index.html",
1629
- "_usePapers-DbWhzgNx.js",
1630
- "_MarkdownText-B-aaimeS.js",
1631
  "_conferenceListings-BnmhBx-_.js",
1632
- "_transform-WCen521A.js",
1633
- "_LoadFailurePage-BY9gZYyL.js",
1634
- "_PaperCard-BXiZHon_.js",
1635
- "_AuthorAvatar-CrqIFv87.js",
1636
- "_SotaBadges-GpZeMWYD.js",
1637
  "_colors-BkWRhvFI.js",
1638
- "_Icon-N8z7DeBC.js",
1639
- "_LatexTitle-CgJviprz.js",
1640
  "_safeExternalHref-CkBrsh84.js",
1641
- "_popover-DRgAhCdU.js",
1642
- "_skeleton-CKwY1CoC.js",
1643
- "_useIntersectionObserver-CK36kpUi.js",
1644
- "_useInfiniteQuery-hVKCzcm1.js",
1645
- "_PaperPreviewLink-hxmZ3UPf.js",
1646
- "_index-Duxgh9kf.js",
1647
- "_index-BPdKbxHa.js",
1648
- "_hover-card-9NlCSWPH.js",
1649
- "_useMutation-BhCRLa1t.js",
1650
- "_alert-BAtahhuM.js",
1651
  "src/pages/NotFound.tsx"
1652
  ]
1653
  },
1654
  "src/views/ConferencesIndexView.tsx": {
1655
- "file": "assets/ConferencesIndexView-ECp8BQb1.js",
1656
  "name": "ConferencesIndexView",
1657
  "src": "src/views/ConferencesIndexView.tsx",
1658
  "isDynamicEntry": true,
1659
  "imports": [
1660
  "index.html",
1661
  "_deadlines-BG5SWwEG.js",
1662
- "_alert-BAtahhuM.js",
1663
- "_AreaSection-BE-V9m-Z.js",
1664
- "_TaxonomySuggestionTile-CIF_PBKQ.js",
1665
- "_useDocumentTitle-CK4VxG11.js",
1666
- "_pageTitles-CNuk5c2y.js",
1667
- "_skeleton-CKwY1CoC.js",
1668
- "_SignInToEditDialog-CpHMTStF.js",
1669
- "_button-TvGRvG4J.js",
1670
- "_input-CJSZmrSu.js",
1671
- "_textarea-CIb9tSG4.js",
1672
- "_searchable-select-CmqairTa.js",
1673
- "_popover-DRgAhCdU.js",
1674
- "_dialog-DR9by6nD.js",
1675
- "_search-BCfgkzCD.js",
1676
- "_loader-circle-BW9ed20f.js",
1677
- "_useMutation-BhCRLa1t.js",
1678
- "_submissions-Cm7h93Uo.js",
1679
- "_plus-Bou0iMb2.js"
1680
  ]
1681
  },
1682
  "src/views/FeedView.tsx": {
1683
- "file": "assets/FeedView-ZR3JgROG.js",
1684
  "name": "FeedView",
1685
  "src": "src/views/FeedView.tsx",
1686
  "isDynamicEntry": true,
1687
  "imports": [
1688
  "index.html",
1689
- "_taskIcons-DtQk_t1Z.js",
1690
- "_researchTopic-Dwh-aCTS.js",
1691
- "_plus-Bou0iMb2.js",
1692
- "_dialog-DR9by6nD.js",
1693
- "_switch-DaSJHMgf.js",
1694
- "_useDebounce-DluHgsjc.js",
1695
- "_transform-WCen521A.js",
1696
- "_index-C_jL3wwd.js",
1697
- "_trash-2-D_ry9pGs.js",
1698
- "_undo-2-Byv3xhFy.js",
1699
- "_arrow-up-right-B1sXz8jv.js",
1700
- "_arrow-right-rRg_3O3k.js",
1701
  "_colors-BkWRhvFI.js",
1702
- "_usePapers-DbWhzgNx.js",
1703
- "_McpShowcase-CWi38Cpu.js",
1704
- "_chat-BY6jjJTm.js",
1705
- "_skeleton-CKwY1CoC.js",
1706
- "_alert-BAtahhuM.js",
1707
- "_useDocumentTitle-CK4VxG11.js",
1708
- "_pageTitles-CNuk5c2y.js",
1709
- "_search-BCfgkzCD.js",
1710
- "_triangle-alert-C9Pn0RtQ.js",
1711
- "_share-2-DsuTyobU.js",
1712
- "_trending-up-DYoC6LwW.js",
1713
- "_moon-D7rwii1q.js",
1714
- "_thumbs-up-DfqmZFje.js",
1715
- "_database-0Wk20GLl.js",
1716
- "_link-2-DVFqwbJV.js",
1717
- "_trophy-Ba-QU5Ik.js",
1718
- "_file-text-Cw24822N.js",
1719
- "_activity-DFBWkfMu.js",
1720
- "_globe-DfflNEeG.js",
1721
- "_useMutation-BhCRLa1t.js",
1722
- "_index-Dr5kpJ2J.js",
1723
- "_PaperCard-BXiZHon_.js",
1724
- "_AuthorAvatar-CrqIFv87.js",
1725
- "_SotaBadges-GpZeMWYD.js",
1726
- "_Icon-N8z7DeBC.js",
1727
- "_LatexTitle-CgJviprz.js",
1728
  "_safeExternalHref-CkBrsh84.js",
1729
- "_popover-DRgAhCdU.js",
1730
- "_useIntersectionObserver-CK36kpUi.js",
1731
- "_useInfiniteQuery-hVKCzcm1.js",
1732
- "_AgentLogos-e4Q9yKFL.js"
1733
  ]
1734
  },
1735
  "src/views/FollowingView.tsx": {
1736
- "file": "assets/FollowingView-dy9LQoEt.js",
1737
  "name": "FollowingView",
1738
  "src": "src/views/FollowingView.tsx",
1739
  "isDynamicEntry": true,
1740
  "imports": [
1741
  "index.html",
1742
  "src/views/FeedView.tsx",
1743
- "_taskIcons-DtQk_t1Z.js",
1744
- "_search-BCfgkzCD.js",
1745
- "_triangle-alert-C9Pn0RtQ.js",
1746
- "_share-2-DsuTyobU.js",
1747
- "_trending-up-DYoC6LwW.js",
1748
- "_moon-D7rwii1q.js",
1749
- "_thumbs-up-DfqmZFje.js",
1750
- "_database-0Wk20GLl.js",
1751
- "_link-2-DVFqwbJV.js",
1752
- "_trophy-Ba-QU5Ik.js",
1753
- "_file-text-Cw24822N.js",
1754
- "_activity-DFBWkfMu.js",
1755
- "_globe-DfflNEeG.js",
1756
- "_researchTopic-Dwh-aCTS.js",
1757
- "_useMutation-BhCRLa1t.js",
1758
- "_plus-Bou0iMb2.js",
1759
- "_dialog-DR9by6nD.js",
1760
- "_switch-DaSJHMgf.js",
1761
- "_index-Dr5kpJ2J.js",
1762
- "_useDebounce-DluHgsjc.js",
1763
- "_transform-WCen521A.js",
1764
- "_index-C_jL3wwd.js",
1765
- "_chat-BY6jjJTm.js",
1766
- "_trash-2-D_ry9pGs.js",
1767
- "_undo-2-Byv3xhFy.js",
1768
- "_arrow-up-right-B1sXz8jv.js",
1769
- "_arrow-right-rRg_3O3k.js",
1770
  "_colors-BkWRhvFI.js",
1771
- "_usePapers-DbWhzgNx.js",
1772
- "_PaperCard-BXiZHon_.js",
1773
- "_AuthorAvatar-CrqIFv87.js",
1774
- "_SotaBadges-GpZeMWYD.js",
1775
- "_Icon-N8z7DeBC.js",
1776
- "_LatexTitle-CgJviprz.js",
1777
  "_safeExternalHref-CkBrsh84.js",
1778
- "_popover-DRgAhCdU.js",
1779
- "_skeleton-CKwY1CoC.js",
1780
- "_useIntersectionObserver-CK36kpUi.js",
1781
- "_useInfiniteQuery-hVKCzcm1.js",
1782
- "_McpShowcase-CWi38Cpu.js",
1783
- "_AgentLogos-e4Q9yKFL.js",
1784
- "_alert-BAtahhuM.js",
1785
- "_useDocumentTitle-CK4VxG11.js",
1786
- "_pageTitles-CNuk5c2y.js"
1787
  ]
1788
  },
1789
  "src/views/FrameworksIndexView.tsx": {
1790
- "file": "assets/FrameworksIndexView-uSsXnvho.js",
1791
  "name": "FrameworksIndexView",
1792
  "src": "src/views/FrameworksIndexView.tsx",
1793
  "isDynamicEntry": true,
1794
  "imports": [
1795
  "index.html",
1796
- "_Icon-N8z7DeBC.js",
1797
  "_colors-BkWRhvFI.js",
1798
  "_frameworks-DDA0P4Tf.js",
1799
- "_useDocumentTitle-CK4VxG11.js",
1800
- "_pageTitles-CNuk5c2y.js"
1801
  ]
1802
  },
1803
  "src/views/McpView.tsx": {
1804
- "file": "assets/McpView-DMUB2-HT.js",
1805
  "name": "McpView",
1806
  "src": "src/views/McpView.tsx",
1807
  "isDynamicEntry": true,
1808
  "imports": [
1809
  "index.html",
1810
- "_useDocumentTitle-CK4VxG11.js",
1811
- "_github-4Cp2qYOr.js",
1812
- "_arrow-up-right-B1sXz8jv.js",
1813
- "_external-link-BQKIF2kZ.js",
1814
- "_copy-DlnZdlrV.js"
1815
  ],
1816
  "css": [
1817
  "assets/McpView-EGeqkP46.css"
1818
  ]
1819
  },
1820
  "src/views/MethodDetailView.tsx": {
1821
- "file": "assets/MethodDetailView-BL39zEst.js",
1822
  "name": "MethodDetailView",
1823
  "src": "src/views/MethodDetailView.tsx",
1824
  "isDynamicEntry": true,
1825
  "imports": [
1826
  "index.html",
1827
- "_ResearchFollowButton-g73yztEC.js",
1828
- "_SotaBadges-GpZeMWYD.js",
1829
- "_usePapers-DbWhzgNx.js",
1830
- "_MarkdownText-B-aaimeS.js",
1831
  "_slug-BpH-Nkvz.js",
1832
- "_transform-WCen521A.js",
1833
- "_skeleton-CKwY1CoC.js",
1834
  "_safeExternalHref-CkBrsh84.js",
1835
  "src/pages/NotFound.tsx",
1836
- "_LoadFailurePage-BY9gZYyL.js",
1837
- "_useDocumentTitle-CK4VxG11.js",
1838
- "_pageTitles-CNuk5c2y.js",
1839
- "_researchTopic-Dwh-aCTS.js",
1840
- "_useMutation-BhCRLa1t.js",
1841
- "_plus-Bou0iMb2.js",
1842
  "_colors-BkWRhvFI.js",
1843
- "_PaperCard-BXiZHon_.js",
1844
- "_AuthorAvatar-CrqIFv87.js",
1845
- "_Icon-N8z7DeBC.js",
1846
- "_LatexTitle-CgJviprz.js",
1847
- "_popover-DRgAhCdU.js",
1848
- "_useIntersectionObserver-CK36kpUi.js",
1849
- "_useInfiniteQuery-hVKCzcm1.js",
1850
- "_PaperPreviewLink-hxmZ3UPf.js",
1851
- "_index-Duxgh9kf.js",
1852
- "_index-BPdKbxHa.js",
1853
- "_hover-card-9NlCSWPH.js",
1854
- "_alert-BAtahhuM.js"
1855
  ]
1856
  },
1857
  "src/views/MethodsIndexView.tsx": {
1858
- "file": "assets/MethodsIndexView-Dt5P63Vd.js",
1859
  "name": "MethodsIndexView",
1860
  "src": "src/views/MethodsIndexView.tsx",
1861
  "isDynamicEntry": true,
@@ -1863,180 +1866,180 @@
1863
  "index.html",
1864
  "_areas-Dvi8w2dp.js",
1865
  "_slug-BpH-Nkvz.js",
1866
- "_alert-BAtahhuM.js",
1867
- "_AreaSection-BE-V9m-Z.js",
1868
- "_TaxonomySuggestionTile-CIF_PBKQ.js",
1869
- "_useHashScrollOnReady-IVSovUgL.js",
1870
- "_useDocumentTitle-CK4VxG11.js",
1871
- "_pageTitles-CNuk5c2y.js",
1872
- "_skeleton-CKwY1CoC.js",
1873
- "_SignInToEditDialog-CpHMTStF.js",
1874
- "_button-TvGRvG4J.js",
1875
- "_input-CJSZmrSu.js",
1876
- "_textarea-CIb9tSG4.js",
1877
- "_searchable-select-CmqairTa.js",
1878
- "_popover-DRgAhCdU.js",
1879
- "_dialog-DR9by6nD.js",
1880
- "_search-BCfgkzCD.js",
1881
- "_loader-circle-BW9ed20f.js",
1882
- "_useMutation-BhCRLa1t.js",
1883
- "_submissions-Cm7h93Uo.js",
1884
- "_plus-Bou0iMb2.js",
1885
- "_trending-up-DYoC6LwW.js"
1886
  ]
1887
  },
1888
  "src/views/OrganizationDetailView.tsx": {
1889
- "file": "assets/OrganizationDetailView-D7K3gRgV.js",
1890
  "name": "OrganizationDetailView",
1891
  "src": "src/views/OrganizationDetailView.tsx",
1892
  "isDynamicEntry": true,
1893
  "imports": [
1894
  "index.html",
1895
- "_ResearchFollowButton-g73yztEC.js",
1896
- "_MarkdownText-B-aaimeS.js",
1897
- "_OrganizationContributionGraph-C24r13Sj.js",
1898
- "_usePapers-DbWhzgNx.js",
1899
- "_searchable-select-CmqairTa.js",
1900
- "_skeleton-CKwY1CoC.js",
1901
- "_transform-WCen521A.js",
1902
  "_organizationNames-BVKzYEBp.js",
1903
  "src/pages/NotFound.tsx",
1904
- "_LoadFailurePage-BY9gZYyL.js",
1905
- "_useDocumentTitle-CK4VxG11.js",
1906
- "_pageTitles-CNuk5c2y.js",
1907
- "_researchTopic-Dwh-aCTS.js",
1908
- "_useMutation-BhCRLa1t.js",
1909
- "_plus-Bou0iMb2.js",
1910
- "_PaperPreviewLink-hxmZ3UPf.js",
1911
- "_index-Duxgh9kf.js",
1912
- "_index-BPdKbxHa.js",
1913
- "_hover-card-9NlCSWPH.js",
1914
- "_PaperCard-BXiZHon_.js",
1915
- "_AuthorAvatar-CrqIFv87.js",
1916
- "_SotaBadges-GpZeMWYD.js",
1917
  "_colors-BkWRhvFI.js",
1918
- "_Icon-N8z7DeBC.js",
1919
- "_LatexTitle-CgJviprz.js",
1920
  "_safeExternalHref-CkBrsh84.js",
1921
- "_popover-DRgAhCdU.js",
1922
- "_useIntersectionObserver-CK36kpUi.js",
1923
- "_useInfiniteQuery-hVKCzcm1.js",
1924
- "_button-TvGRvG4J.js",
1925
- "_dialog-DR9by6nD.js",
1926
- "_search-BCfgkzCD.js",
1927
- "_loader-circle-BW9ed20f.js",
1928
- "_alert-BAtahhuM.js"
1929
  ]
1930
  },
1931
  "src/views/OrganizationsIndexView.tsx": {
1932
- "file": "assets/OrganizationsIndexView-DA9HedTB.js",
1933
  "name": "OrganizationsIndexView",
1934
  "src": "src/views/OrganizationsIndexView.tsx",
1935
  "isDynamicEntry": true,
1936
  "imports": [
1937
  "index.html",
1938
- "_alert-BAtahhuM.js",
1939
- "_useDocumentTitle-CK4VxG11.js",
1940
- "_pageTitles-CNuk5c2y.js"
1941
  ],
1942
  "css": [
1943
  "assets/OrganizationsIndexView-CJnrfIkP.css"
1944
  ]
1945
  },
1946
  "src/views/PaperDetailView.tsx": {
1947
- "file": "assets/PaperDetailView-D4VY4iU8.js",
1948
  "name": "PaperDetailView",
1949
  "src": "src/views/PaperDetailView.tsx",
1950
  "isDynamicEntry": true,
1951
  "imports": [
1952
  "index.html",
1953
- "_useMutation-BhCRLa1t.js",
1954
- "_Icon-N8z7DeBC.js",
1955
- "_SotaBadges-GpZeMWYD.js",
1956
- "_LatexTitle-CgJviprz.js",
1957
- "_preferences-DZkWR9pP.js",
1958
- "_transform-WCen521A.js",
1959
  "_paperReader-D1y30HyW.js",
1960
- "_useDocumentTitle-CK4VxG11.js",
1961
  "_safeExternalHref-CkBrsh84.js",
1962
- "_mlIntern-DidbK0Ey.js",
1963
- "_skeleton-CKwY1CoC.js",
1964
- "_alert-BAtahhuM.js",
1965
- "_button-TvGRvG4J.js",
1966
- "_dialog-DR9by6nD.js",
1967
- "_AgentLogos-e4Q9yKFL.js",
1968
- "_copy-DlnZdlrV.js",
1969
- "_cacheSync-BJW-wKQF.js",
1970
- "_input-CJSZmrSu.js",
1971
- "_searchable-select-CmqairTa.js",
1972
- "_loader-circle-BW9ed20f.js",
1973
- "_trash-2-D_ry9pGs.js",
1974
- "_SignInToEditDialog-CpHMTStF.js",
1975
- "_useQueries-Cwsmx9Ux.js",
1976
- "_submissions-Cm7h93Uo.js",
1977
- "_database-0Wk20GLl.js",
1978
- "_plus-Bou0iMb2.js",
1979
- "_search-BCfgkzCD.js",
1980
- "_badge-CmRkIQyK.js",
1981
- "_CatalogEntityPreviewLink-C7EwyTwf.js",
1982
- "_globe-DfflNEeG.js",
1983
- "_github-4Cp2qYOr.js",
1984
- "_index-Dr5kpJ2J.js",
1985
- "_ExternalSourceEvalBadge-B05mXvbN.js",
1986
- "_index-Duxgh9kf.js",
1987
- "_index-BPdKbxHa.js",
1988
- "_useIntersectionObserver-CK36kpUi.js",
1989
- "_savedPapersAuth-CCZCQuio.js",
1990
  "_organizationNames-BVKzYEBp.js",
1991
- "_AuthorAvatar-CrqIFv87.js",
1992
  "_colors-BkWRhvFI.js",
1993
- "_popover-DRgAhCdU.js",
1994
- "_textarea-CIb9tSG4.js",
1995
- "_hover-card-9NlCSWPH.js"
1996
  ],
1997
  "css": [
1998
  "assets/PaperDetailView-DOQP9hzn.css"
1999
  ]
2000
  },
2001
  "src/views/PaperReaderView.tsx": {
2002
- "file": "assets/PaperReaderView-B4rJYvNC.js",
2003
  "name": "PaperReaderView",
2004
  "src": "src/views/PaperReaderView.tsx",
2005
  "isDynamicEntry": true,
2006
  "imports": [
2007
  "index.html",
2008
- "_chatLifecycle-BTYJyrKZ.js",
2009
- "_MarkdownText-B-aaimeS.js",
2010
  "_paperReader-D1y30HyW.js",
2011
- "_chat-BY6jjJTm.js",
2012
  "_safeExternalHref-CkBrsh84.js",
2013
  "src/views/ChatView.tsx",
2014
- "_index-C_jL3wwd.js",
2015
- "_hover-card-9NlCSWPH.js",
2016
- "_CatalogEntityPreviewLink-C7EwyTwf.js",
2017
- "_github-4Cp2qYOr.js",
2018
- "_file-text-Cw24822N.js",
2019
- "_PaperPreviewLink-hxmZ3UPf.js",
2020
- "_index-Duxgh9kf.js",
2021
- "_index-BPdKbxHa.js",
2022
- "_useMutation-BhCRLa1t.js",
2023
- "_index-CT4oVNDi.js",
2024
  "node_modules/katex/dist/katex.mjs",
2025
- "_thumbs-up-DfqmZFje.js",
2026
- "_copy-DlnZdlrV.js",
2027
- "_arrow-left-C4iqM9DK.js",
2028
- "_external-link-BQKIF2kZ.js",
2029
- "_plus-Bou0iMb2.js",
2030
- "_search-BCfgkzCD.js",
2031
- "_chevron-up-oWUehGsz.js",
2032
- "_AuthorAvatar-CrqIFv87.js",
2033
- "_trash-2-D_ry9pGs.js",
2034
- "_McpShowcase-CWi38Cpu.js",
2035
- "_AgentLogos-e4Q9yKFL.js",
2036
- "_share-2-DsuTyobU.js",
2037
- "_Icon-N8z7DeBC.js",
2038
- "_mlIntern-DidbK0Ey.js",
2039
- "_openrouter-Cr6qzWUe.js"
2040
  ],
2041
  "css": [
2042
  "assets/katex-wklAmtGL.css"
@@ -2104,44 +2107,44 @@
2104
  ]
2105
  },
2106
  "src/views/PapersListView.tsx": {
2107
- "file": "assets/PapersListView-HiPw5d_R.js",
2108
  "name": "PapersListView",
2109
  "src": "src/views/PapersListView.tsx",
2110
  "isDynamicEntry": true,
2111
  "imports": [
2112
  "index.html",
2113
- "_SotaBadges-GpZeMWYD.js",
2114
- "_Icon-N8z7DeBC.js",
2115
- "_usePapers-DbWhzgNx.js",
2116
- "_transform-WCen521A.js",
2117
- "_useDebounce-DluHgsjc.js",
2118
- "_skeleton-CKwY1CoC.js",
2119
- "_alert-BAtahhuM.js",
2120
  "_frameworks-DDA0P4Tf.js",
2121
- "_useDocumentTitle-CK4VxG11.js",
2122
- "_pageTitles-CNuk5c2y.js",
2123
  "_colors-BkWRhvFI.js",
2124
- "_PaperCard-BXiZHon_.js",
2125
- "_AuthorAvatar-CrqIFv87.js",
2126
- "_LatexTitle-CgJviprz.js",
2127
  "_safeExternalHref-CkBrsh84.js",
2128
- "_popover-DRgAhCdU.js",
2129
- "_useIntersectionObserver-CK36kpUi.js",
2130
- "_useInfiniteQuery-hVKCzcm1.js"
2131
  ]
2132
  },
2133
  "src/views/PrivacyView.tsx": {
2134
- "file": "assets/PrivacyView-XPFVudQH.js",
2135
  "name": "PrivacyView",
2136
  "src": "src/views/PrivacyView.tsx",
2137
  "isDynamicEntry": true,
2138
  "imports": [
2139
  "index.html",
2140
- "_useDocumentTitle-CK4VxG11.js"
2141
  ]
2142
  },
2143
  "src/views/RateLimitsView.tsx": {
2144
- "file": "assets/RateLimitsView-BFAbOTCd.js",
2145
  "name": "RateLimitsView",
2146
  "src": "src/views/RateLimitsView.tsx",
2147
  "isDynamicEntry": true,
@@ -2150,74 +2153,74 @@
2150
  ]
2151
  },
2152
  "src/views/SavedPapersView.tsx": {
2153
- "file": "assets/SavedPapersView-NMkvSPSL.js",
2154
  "name": "SavedPapersView",
2155
  "src": "src/views/SavedPapersView.tsx",
2156
  "isDynamicEntry": true,
2157
  "imports": [
2158
  "index.html",
2159
- "_PaperCard-BXiZHon_.js",
2160
- "_SotaBadges-GpZeMWYD.js",
2161
- "_skeleton-CKwY1CoC.js",
2162
- "_alert-BAtahhuM.js",
2163
- "_transform-WCen521A.js",
2164
- "_savedPapersAuth-CCZCQuio.js",
2165
- "_AuthorAvatar-CrqIFv87.js",
2166
- "_Icon-N8z7DeBC.js",
2167
- "_LatexTitle-CgJviprz.js",
2168
  "_safeExternalHref-CkBrsh84.js",
2169
  "_colors-BkWRhvFI.js"
2170
  ]
2171
  },
2172
  "src/views/SettingsView.tsx": {
2173
- "file": "assets/SettingsView-_8gk-kyo.js",
2174
  "name": "SettingsView",
2175
  "src": "src/views/SettingsView.tsx",
2176
  "isDynamicEntry": true,
2177
  "imports": [
2178
  "index.html",
2179
- "_useMutation-BhCRLa1t.js",
2180
- "_researchTopic-Dwh-aCTS.js",
2181
- "_switch-DaSJHMgf.js",
2182
- "_arrow-right-rRg_3O3k.js",
2183
- "_chat-BY6jjJTm.js",
2184
- "_useDocumentTitle-CK4VxG11.js",
2185
- "_openrouter-Cr6qzWUe.js",
2186
- "_preferences-DZkWR9pP.js",
2187
- "_external-link-BQKIF2kZ.js",
2188
- "_moon-D7rwii1q.js",
2189
- "_index-Dr5kpJ2J.js"
2190
  ]
2191
  },
2192
  "src/views/SharedChatView.tsx": {
2193
- "file": "assets/SharedChatView-DJQZ6wOs.js",
2194
  "name": "SharedChatView",
2195
  "src": "src/views/SharedChatView.tsx",
2196
  "isDynamicEntry": true,
2197
  "imports": [
2198
  "index.html",
2199
- "_chatLifecycle-BTYJyrKZ.js",
2200
- "_index-C_jL3wwd.js",
2201
- "_chat-BY6jjJTm.js",
2202
- "_hover-card-9NlCSWPH.js",
2203
- "_CatalogEntityPreviewLink-C7EwyTwf.js",
2204
- "_github-4Cp2qYOr.js",
2205
- "_file-text-Cw24822N.js",
2206
- "_PaperPreviewLink-hxmZ3UPf.js",
2207
- "_index-Duxgh9kf.js",
2208
- "_index-BPdKbxHa.js",
2209
- "_useMutation-BhCRLa1t.js",
2210
- "_index-CT4oVNDi.js",
2211
  "node_modules/katex/dist/katex.mjs",
2212
- "_thumbs-up-DfqmZFje.js",
2213
- "_copy-DlnZdlrV.js",
2214
- "_arrow-left-C4iqM9DK.js",
2215
- "_external-link-BQKIF2kZ.js",
2216
- "_plus-Bou0iMb2.js",
2217
- "_search-BCfgkzCD.js",
2218
- "_chevron-up-oWUehGsz.js",
2219
- "_AuthorAvatar-CrqIFv87.js",
2220
- "_trash-2-D_ry9pGs.js"
2221
  ],
2222
  "css": [
2223
  "assets/katex-wklAmtGL.css"
@@ -2285,165 +2288,165 @@
2285
  ]
2286
  },
2287
  "src/views/StagingAccessRequestView.tsx": {
2288
- "file": "assets/StagingAccessRequestView-BdSSb_rZ.js",
2289
  "name": "StagingAccessRequestView",
2290
  "src": "src/views/StagingAccessRequestView.tsx",
2291
  "isDynamicEntry": true,
2292
  "imports": [
2293
  "index.html",
2294
- "_circle-check-B-EyMkil.js"
2295
  ]
2296
  },
2297
  "src/views/SubmitView.tsx": {
2298
- "file": "assets/SubmitView-DuSfamFU.js",
2299
  "name": "SubmitView",
2300
  "src": "src/views/SubmitView.tsx",
2301
  "isDynamicEntry": true,
2302
  "imports": [
2303
  "index.html",
2304
- "_useMutation-BhCRLa1t.js",
2305
- "_alert-BAtahhuM.js",
2306
- "_button-TvGRvG4J.js",
2307
- "_input-CJSZmrSu.js",
2308
- "_textarea-CIb9tSG4.js",
2309
- "_cacheSync-BJW-wKQF.js"
2310
  ]
2311
  },
2312
  "src/views/TagBrowseView.tsx": {
2313
- "file": "assets/TagBrowseView-Vd699QMe.js",
2314
  "name": "TagBrowseView",
2315
  "src": "src/views/TagBrowseView.tsx",
2316
  "isDynamicEntry": true,
2317
  "imports": [
2318
  "index.html",
2319
- "_ResearchFollowButton-g73yztEC.js",
2320
- "_SotaBadges-GpZeMWYD.js",
2321
- "_usePapers-DbWhzgNx.js",
2322
- "_arrow-right-rRg_3O3k.js",
2323
- "_BenchmarkTrendSparkline-C8X1e25R.js",
2324
- "_MarkdownText-B-aaimeS.js",
2325
  "_frameworks-DDA0P4Tf.js",
2326
- "_preferences-DZkWR9pP.js",
2327
  "_slug-BpH-Nkvz.js",
2328
- "_transform-WCen521A.js",
2329
- "_skeleton-CKwY1CoC.js",
2330
  "src/pages/NotFound.tsx",
2331
- "_LoadFailurePage-BY9gZYyL.js",
2332
- "_useDocumentTitle-CK4VxG11.js",
2333
- "_pageTitles-CNuk5c2y.js",
2334
- "_trophy-Ba-QU5Ik.js",
2335
- "_github-4Cp2qYOr.js",
2336
- "_researchTopic-Dwh-aCTS.js",
2337
- "_useMutation-BhCRLa1t.js",
2338
- "_plus-Bou0iMb2.js",
2339
  "_colors-BkWRhvFI.js",
2340
- "_PaperCard-BXiZHon_.js",
2341
- "_AuthorAvatar-CrqIFv87.js",
2342
- "_Icon-N8z7DeBC.js",
2343
- "_LatexTitle-CgJviprz.js",
2344
  "_safeExternalHref-CkBrsh84.js",
2345
- "_popover-DRgAhCdU.js",
2346
- "_useIntersectionObserver-CK36kpUi.js",
2347
- "_useInfiniteQuery-hVKCzcm1.js",
2348
- "_PaperPreviewLink-hxmZ3UPf.js",
2349
- "_index-Duxgh9kf.js",
2350
- "_index-BPdKbxHa.js",
2351
- "_hover-card-9NlCSWPH.js",
2352
- "_alert-BAtahhuM.js"
2353
  ]
2354
  },
2355
  "src/views/TagsIndexView.tsx": {
2356
- "file": "assets/TagsIndexView-CsFYonki.js",
2357
  "name": "TagsIndexView",
2358
  "src": "src/views/TagsIndexView.tsx",
2359
  "isDynamicEntry": true,
2360
  "imports": [
2361
  "index.html",
2362
  "_colors-BkWRhvFI.js",
2363
- "_transform-WCen521A.js",
2364
  "_slug-BpH-Nkvz.js",
2365
- "_taskIcons-DtQk_t1Z.js",
2366
- "_alert-BAtahhuM.js",
2367
- "_AreaSection-BE-V9m-Z.js",
2368
- "_TaxonomySuggestionTile-CIF_PBKQ.js",
2369
- "_useHashScrollOnReady-IVSovUgL.js",
2370
  "_areas-Dvi8w2dp.js",
2371
- "_useDocumentTitle-CK4VxG11.js",
2372
- "_pageTitles-CNuk5c2y.js",
2373
- "_search-BCfgkzCD.js",
2374
- "_triangle-alert-C9Pn0RtQ.js",
2375
- "_share-2-DsuTyobU.js",
2376
- "_trending-up-DYoC6LwW.js",
2377
- "_moon-D7rwii1q.js",
2378
- "_thumbs-up-DfqmZFje.js",
2379
- "_database-0Wk20GLl.js",
2380
- "_link-2-DVFqwbJV.js",
2381
- "_trophy-Ba-QU5Ik.js",
2382
- "_file-text-Cw24822N.js",
2383
- "_activity-DFBWkfMu.js",
2384
- "_globe-DfflNEeG.js",
2385
- "_skeleton-CKwY1CoC.js",
2386
- "_SignInToEditDialog-CpHMTStF.js",
2387
- "_button-TvGRvG4J.js",
2388
- "_input-CJSZmrSu.js",
2389
- "_textarea-CIb9tSG4.js",
2390
- "_searchable-select-CmqairTa.js",
2391
- "_popover-DRgAhCdU.js",
2392
- "_dialog-DR9by6nD.js",
2393
- "_loader-circle-BW9ed20f.js",
2394
- "_useMutation-BhCRLa1t.js",
2395
- "_submissions-Cm7h93Uo.js",
2396
- "_plus-Bou0iMb2.js"
2397
  ]
2398
  },
2399
  "src/views/TopicView.tsx": {
2400
- "file": "assets/TopicView-CQt554Bv.js",
2401
  "name": "TopicView",
2402
  "src": "src/views/TopicView.tsx",
2403
  "isDynamicEntry": true,
2404
  "imports": [
2405
  "index.html",
2406
- "_usePapers-DbWhzgNx.js",
2407
- "_skeleton-CKwY1CoC.js",
2408
- "_researchTopic-Dwh-aCTS.js",
2409
- "_transform-WCen521A.js",
2410
- "_plus-Bou0iMb2.js",
2411
- "_link-2-DVFqwbJV.js",
2412
- "_PaperCard-BXiZHon_.js",
2413
- "_AuthorAvatar-CrqIFv87.js",
2414
- "_SotaBadges-GpZeMWYD.js",
2415
  "_colors-BkWRhvFI.js",
2416
- "_Icon-N8z7DeBC.js",
2417
- "_LatexTitle-CgJviprz.js",
2418
  "_safeExternalHref-CkBrsh84.js",
2419
- "_popover-DRgAhCdU.js",
2420
- "_useIntersectionObserver-CK36kpUi.js",
2421
- "_useInfiniteQuery-hVKCzcm1.js",
2422
- "_useMutation-BhCRLa1t.js"
2423
  ]
2424
  },
2425
  "src/views/TrendsView.tsx": {
2426
- "file": "assets/TrendsView-D32xFTu3.js",
2427
  "name": "TrendsView",
2428
  "src": "src/views/TrendsView.tsx",
2429
  "isDynamicEntry": true,
2430
  "imports": [
2431
  "index.html",
2432
- "_alert-BAtahhuM.js",
2433
- "_skeleton-CKwY1CoC.js",
2434
- "_useDocumentTitle-CK4VxG11.js",
2435
- "_pageTitles-CNuk5c2y.js"
2436
  ]
2437
  },
2438
  "src/views/UserProfileView.tsx": {
2439
- "file": "assets/UserProfileView-BCf4PVxV.js",
2440
  "name": "UserProfileView",
2441
  "src": "src/views/UserProfileView.tsx",
2442
  "isDynamicEntry": true,
2443
  "imports": [
2444
  "index.html",
2445
- "_OrganizationContributionGraph-C24r13Sj.js",
2446
- "_skeleton-CKwY1CoC.js"
2447
  ]
2448
  }
2449
  }
 
1
  {
2
+ "_AgentLogos-B7GloLDi.js": {
3
+ "file": "assets/AgentLogos-B7GloLDi.js",
4
  "name": "AgentLogos",
5
  "imports": [
6
  "index.html"
7
  ]
8
  },
9
+ "_AreaSection-0kfCUYRS.js": {
10
+ "file": "assets/AreaSection-0kfCUYRS.js",
11
  "name": "AreaSection",
12
  "imports": [
13
  "index.html",
14
+ "_skeleton-CR7iZvat.js"
15
  ]
16
  },
17
  "_AuthorAvatar-!~{017}~.js": {
18
  "file": "assets/AuthorAvatar-o5W6pl_W.css",
19
  "src": "_AuthorAvatar-!~{017}~.js"
20
  },
21
+ "_AuthorAvatar-Cn_8_omA.js": {
22
+ "file": "assets/AuthorAvatar-Cn_8_omA.js",
23
  "name": "AuthorAvatar",
24
  "imports": [
25
  "index.html"
 
28
  "assets/AuthorAvatar-o5W6pl_W.css"
29
  ]
30
  },
31
+ "_BenchmarkTrendSparkline-CXgXdB42.js": {
32
+ "file": "assets/BenchmarkTrendSparkline-CXgXdB42.js",
33
  "name": "BenchmarkTrendSparkline",
34
  "imports": [
35
  "index.html"
36
  ]
37
  },
38
+ "_CatalogEntityPreviewLink-DwN4bhsl.js": {
39
+ "file": "assets/CatalogEntityPreviewLink-DwN4bhsl.js",
40
  "name": "CatalogEntityPreviewLink",
41
  "imports": [
42
  "index.html",
43
+ "_hover-card-Cwr5IQpG.js"
44
  ]
45
  },
46
  "_CronDashboard-!~{022}~.js": {
47
  "file": "assets/CronDashboard-DwChfW9h.css",
48
  "src": "_CronDashboard-!~{022}~.js"
49
  },
50
+ "_CronDashboard-Bu3MjRtq.js": {
51
+ "file": "assets/CronDashboard-Bu3MjRtq.js",
52
  "name": "CronDashboard",
53
  "imports": [
54
  "index.html"
 
61
  "file": "assets/ExternalSourceEvalBadge-CWUQ52cV.css",
62
  "src": "_ExternalSourceEvalBadge-!~{01L}~.js"
63
  },
64
+ "_ExternalSourceEvalBadge-BfVErjNU.js": {
65
+ "file": "assets/ExternalSourceEvalBadge-BfVErjNU.js",
66
  "name": "ExternalSourceEvalBadge",
67
  "imports": [
68
  "index.html",
69
+ "_hover-card-Cwr5IQpG.js",
70
  "_safeExternalHref-CkBrsh84.js"
71
  ],
72
  "css": [
73
  "assets/ExternalSourceEvalBadge-CWUQ52cV.css"
74
  ]
75
  },
76
+ "_Icon-BrPPGkYF.js": {
77
+ "file": "assets/Icon-BrPPGkYF.js",
78
  "name": "Icon",
79
  "imports": [
80
  "index.html"
81
  ]
82
  },
83
+ "_LatexTitle-TFtKXSOA.js": {
84
+ "file": "assets/LatexTitle-TFtKXSOA.js",
85
  "name": "LatexTitle",
86
  "imports": [
87
  "index.html"
 
90
  "node_modules/katex/dist/katex.mjs"
91
  ]
92
  },
93
+ "_LoadFailurePage-DERO_21B.js": {
94
+ "file": "assets/LoadFailurePage-DERO_21B.js",
95
  "name": "LoadFailurePage",
96
  "imports": [
97
  "index.html",
98
+ "_alert-BWfaZ9GT.js",
99
  "src/pages/NotFound.tsx"
100
  ]
101
  },
102
+ "_MarkdownText-BFhqzZUc.js": {
103
+ "file": "assets/MarkdownText-BFhqzZUc.js",
104
  "name": "MarkdownText",
105
  "imports": [
106
  "index.html",
107
+ "_PaperPreviewLink-Dvvn-oU_.js",
108
+ "_index-QDUqgJJX.js",
109
+ "_index-CDEsSSod.js"
110
  ],
111
  "dynamicImports": [
112
  "src/components/MathMarkdownText.tsx"
113
  ]
114
  },
115
+ "_McpShowcase-DuGSlHLG.js": {
116
+ "file": "assets/McpShowcase-DuGSlHLG.js",
117
  "name": "McpShowcase",
118
  "imports": [
119
  "index.html",
120
+ "_AgentLogos-B7GloLDi.js"
121
  ]
122
  },
123
+ "_OrganizationContributionGraph-BdogQKhU.js": {
124
+ "file": "assets/OrganizationContributionGraph-BdogQKhU.js",
125
  "name": "OrganizationContributionGraph",
126
  "imports": [
127
  "index.html",
128
+ "_skeleton-CR7iZvat.js"
129
  ]
130
  },
131
+ "_PaperCard-CrdVyQE8.js": {
132
+ "file": "assets/PaperCard-CrdVyQE8.js",
133
  "name": "PaperCard",
134
  "imports": [
135
  "index.html",
136
+ "_AuthorAvatar-Cn_8_omA.js",
137
+ "_SotaBadges-MTukWJ8b.js",
138
+ "_Icon-BrPPGkYF.js",
139
+ "_LatexTitle-TFtKXSOA.js",
140
  "_safeExternalHref-CkBrsh84.js"
141
  ]
142
  },
143
+ "_PaperPreviewLink-Dvvn-oU_.js": {
144
+ "file": "assets/PaperPreviewLink-Dvvn-oU_.js",
145
  "name": "PaperPreviewLink",
146
  "imports": [
147
+ "_index-QDUqgJJX.js",
148
+ "_index-CDEsSSod.js",
149
  "index.html",
150
+ "_hover-card-Cwr5IQpG.js",
151
+ "_useMutation-CghM0QJV.js"
152
  ]
153
  },
154
+ "_ResearchFollowButton-BCIfaLgE.js": {
155
+ "file": "assets/ResearchFollowButton-BCIfaLgE.js",
156
  "name": "ResearchFollowButton",
157
  "imports": [
158
  "index.html",
159
+ "_researchTopic-BGjIaltV.js",
160
+ "_plus-BFsfRK33.js"
161
  ]
162
  },
163
+ "_SignInToEditDialog-Bv3LeRt3.js": {
164
+ "file": "assets/SignInToEditDialog-Bv3LeRt3.js",
165
  "name": "SignInToEditDialog",
166
  "imports": [
167
  "index.html",
168
+ "_button-DWQq9odL.js",
169
+ "_input-BUWCvGLt.js",
170
+ "_textarea-DVnF1aYO.js",
171
+ "_searchable-select-DpWXL1DE.js",
172
+ "_dialog-DmgW-U8s.js",
173
+ "_useMutation-CghM0QJV.js",
174
+ "_submissions-DGJA6GHh.js",
175
+ "_loader-circle-CK0KphTG.js"
176
+ ]
177
+ },
178
+ "_SotaBadges-MTukWJ8b.js": {
179
+ "file": "assets/SotaBadges-MTukWJ8b.js",
180
  "name": "SotaBadges",
181
  "imports": [
182
  "index.html",
183
  "_colors-BkWRhvFI.js",
184
+ "_transform-CRzM_tWE.js"
185
  ]
186
  },
187
+ "_TaxonomySuggestionTile-WqJcc4Nh.js": {
188
+ "file": "assets/TaxonomySuggestionTile-WqJcc4Nh.js",
189
  "name": "TaxonomySuggestionTile",
190
  "imports": [
191
  "index.html",
192
+ "_SignInToEditDialog-Bv3LeRt3.js",
193
+ "_plus-BFsfRK33.js"
194
  ]
195
  },
196
  "__vite-browser-external": {
 
199
  "src": "__vite-browser-external",
200
  "isDynamicEntry": true
201
  },
202
+ "_activity-DtoovMHc.js": {
203
+ "file": "assets/activity-DtoovMHc.js",
204
  "name": "activity",
205
  "imports": [
206
  "index.html"
207
  ]
208
  },
209
+ "_alert-BWfaZ9GT.js": {
210
+ "file": "assets/alert-BWfaZ9GT.js",
211
  "name": "alert",
212
  "imports": [
213
  "index.html"
 
217
  "file": "assets/areas-Dvi8w2dp.js",
218
  "name": "areas"
219
  },
220
+ "_arrow-left-DAqylKH-.js": {
221
+ "file": "assets/arrow-left-DAqylKH-.js",
222
  "name": "arrow-left",
223
  "imports": [
224
  "index.html"
225
  ]
226
  },
227
+ "_arrow-right-B2HgOPT1.js": {
228
+ "file": "assets/arrow-right-B2HgOPT1.js",
229
  "name": "arrow-right",
230
  "imports": [
231
  "index.html"
232
  ]
233
  },
234
+ "_arrow-up-right-LoGNLcfY.js": {
235
+ "file": "assets/arrow-up-right-LoGNLcfY.js",
236
  "name": "arrow-up-right",
237
  "imports": [
238
  "index.html"
239
  ]
240
  },
241
+ "_badge-D7e99giJ.js": {
242
+ "file": "assets/badge-D7e99giJ.js",
243
  "name": "badge",
244
  "imports": [
245
  "index.html"
246
  ]
247
  },
248
+ "_button-DWQq9odL.js": {
249
+ "file": "assets/button-DWQq9odL.js",
250
  "name": "button",
251
  "imports": [
252
  "index.html"
253
  ]
254
  },
255
+ "_cacheSync-DddHSdoZ.js": {
256
+ "file": "assets/cacheSync-DddHSdoZ.js",
257
  "name": "cacheSync",
258
  "imports": [
259
  "index.html"
260
  ]
261
  },
262
+ "_chat-iF1C9QkJ.js": {
263
+ "file": "assets/chat-iF1C9QkJ.js",
264
  "name": "chat",
265
  "imports": [
266
  "index.html"
 
270
  "file": "assets/chatLifecycle-Lr_OJaUk.css",
271
  "src": "_chatLifecycle-!~{01l}~.js"
272
  },
273
+ "_chatLifecycle-B8riqCVx.js": {
274
+ "file": "assets/chatLifecycle-B8riqCVx.js",
275
  "name": "chatLifecycle",
276
  "imports": [
277
  "index.html",
278
+ "_index-DViK7D7O.js",
279
+ "_hover-card-Cwr5IQpG.js",
280
+ "_CatalogEntityPreviewLink-DwN4bhsl.js",
281
+ "_github-BnonuqZU.js",
282
+ "_file-text-C0LuaY-J.js",
283
+ "_PaperPreviewLink-Dvvn-oU_.js",
284
+ "_index-QDUqgJJX.js",
285
+ "_index-B3LpHPyz.js",
286
+ "_index-CDEsSSod.js",
287
+ "_useMutation-CghM0QJV.js",
288
+ "_chat-iF1C9QkJ.js",
289
+ "_thumbs-up-CET5IGrw.js",
290
+ "_copy-Nx3dOYtx.js",
291
+ "_arrow-left-DAqylKH-.js",
292
+ "_external-link-Ou0N7lM_.js",
293
+ "_plus-BFsfRK33.js",
294
+ "_search-DYkHdF95.js",
295
+ "_chevron-up-CfubiFzM.js",
296
+ "_AuthorAvatar-Cn_8_omA.js",
297
+ "_trash-2-Di3uPTPp.js"
298
  ],
299
  "dynamicImports": [
300
  "__vite-browser-external",
 
369
  "assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf"
370
  ]
371
  },
372
+ "_chevron-up-CfubiFzM.js": {
373
+ "file": "assets/chevron-up-CfubiFzM.js",
374
  "name": "chevron-up",
375
  "imports": [
376
  "index.html"
377
  ]
378
  },
379
+ "_circle-check-Dce7_1J4.js": {
380
+ "file": "assets/circle-check-Dce7_1J4.js",
381
  "name": "circle-check",
382
  "imports": [
383
  "index.html"
 
391
  "file": "assets/conferenceListings-BnmhBx-_.js",
392
  "name": "conferenceListings"
393
  },
394
+ "_copy-Nx3dOYtx.js": {
395
+ "file": "assets/copy-Nx3dOYtx.js",
396
  "name": "copy",
397
  "imports": [
398
  "index.html"
399
  ]
400
  },
401
+ "_database-ETB2BmRO.js": {
402
+ "file": "assets/database-ETB2BmRO.js",
403
  "name": "database",
404
  "imports": [
405
  "index.html"
 
409
  "file": "assets/deadlines-BG5SWwEG.js",
410
  "name": "deadlines"
411
  },
412
+ "_dialog-DmgW-U8s.js": {
413
+ "file": "assets/dialog-DmgW-U8s.js",
414
  "name": "dialog",
415
  "imports": [
416
  "index.html"
417
  ]
418
  },
419
+ "_external-link-Ou0N7lM_.js": {
420
+ "file": "assets/external-link-Ou0N7lM_.js",
421
  "name": "external-link",
422
  "imports": [
423
  "index.html"
424
  ]
425
  },
426
+ "_file-text-C0LuaY-J.js": {
427
+ "file": "assets/file-text-C0LuaY-J.js",
428
  "name": "file-text",
429
  "imports": [
430
  "index.html"
 
434
  "file": "assets/frameworks-DDA0P4Tf.js",
435
  "name": "frameworks"
436
  },
437
+ "_github-BnonuqZU.js": {
438
+ "file": "assets/github-BnonuqZU.js",
439
  "name": "github",
440
  "imports": [
441
  "index.html"
442
  ]
443
  },
444
+ "_globe-BU0jIVuu.js": {
445
+ "file": "assets/globe-BU0jIVuu.js",
446
  "name": "globe",
447
  "imports": [
448
  "index.html"
449
  ]
450
  },
451
+ "_hover-card-Cwr5IQpG.js": {
452
+ "file": "assets/hover-card-Cwr5IQpG.js",
453
  "name": "hover-card",
454
  "imports": [
455
  "index.html"
 
459
  "file": "assets/index-Cw6yAXSE.css",
460
  "src": "_index-!~{00_}~.js"
461
  },
462
+ "_index-B3LpHPyz.js": {
463
+ "file": "assets/index-B3LpHPyz.js",
464
  "name": "index",
465
  "imports": [
466
+ "_index-QDUqgJJX.js",
467
+ "node_modules/katex/dist/katex.mjs"
468
  ]
469
  },
470
+ "_index-BrV3rrlz.js": {
471
+ "file": "assets/index-BrV3rrlz.js",
472
  "name": "index",
473
  "imports": [
474
+ "index.html"
 
475
  ]
476
  },
477
+ "_index-CDEsSSod.js": {
478
+ "file": "assets/index-CDEsSSod.js",
479
  "name": "index",
480
  "imports": [
481
+ "_index-QDUqgJJX.js"
 
 
 
 
482
  ]
483
  },
484
+ "_index-DViK7D7O.js": {
485
+ "file": "assets/index-DViK7D7O.js",
486
  "name": "index",
487
  "imports": [
488
+ "index.html",
489
+ "_chat-iF1C9QkJ.js"
490
+ ],
491
+ "css": [
492
+ "assets/index-Cw6yAXSE.css"
493
  ]
494
  },
495
+ "_index-QDUqgJJX.js": {
496
+ "file": "assets/index-QDUqgJJX.js",
497
  "name": "index",
498
  "imports": [
499
  "index.html"
500
  ]
501
  },
502
+ "_input-BUWCvGLt.js": {
503
+ "file": "assets/input-BUWCvGLt.js",
504
  "name": "input",
505
  "imports": [
506
  "index.html"
507
  ]
508
  },
509
+ "_link-2-BfcxSDqR.js": {
510
+ "file": "assets/link-2-BfcxSDqR.js",
511
  "name": "link-2",
512
  "imports": [
513
  "index.html"
514
  ]
515
  },
516
+ "_loader-circle-CK0KphTG.js": {
517
+ "file": "assets/loader-circle-CK0KphTG.js",
518
  "name": "loader-circle",
519
  "imports": [
520
  "index.html"
521
  ]
522
  },
523
+ "_mlIntern-DtdFmmDf.js": {
524
+ "file": "assets/mlIntern-DtdFmmDf.js",
525
  "name": "mlIntern",
526
  "imports": [
527
  "index.html"
528
  ]
529
  },
530
+ "_moon-DZ_f4YQI.js": {
531
+ "file": "assets/moon-DZ_f4YQI.js",
532
  "name": "moon",
533
  "imports": [
534
  "index.html"
535
  ]
536
  },
537
+ "_openrouter-BtubNRjU.js": {
538
+ "file": "assets/openrouter-BtubNRjU.js",
539
  "name": "openrouter",
540
  "imports": [
541
  "index.html",
542
+ "_chat-iF1C9QkJ.js"
543
  ]
544
  },
545
  "_organizationNames-BVKzYEBp.js": {
546
  "file": "assets/organizationNames-BVKzYEBp.js",
547
  "name": "organizationNames"
548
  },
549
+ "_pageTitles-DI-gHdpy.js": {
550
+ "file": "assets/pageTitles-DI-gHdpy.js",
551
  "name": "pageTitles",
552
  "imports": [
553
+ "_useDocumentTitle-BLJX3S0V.js"
554
  ]
555
  },
556
  "_paperReader-D1y30HyW.js": {
 
560
  "_safeExternalHref-CkBrsh84.js"
561
  ]
562
  },
563
+ "_plus-BFsfRK33.js": {
564
+ "file": "assets/plus-BFsfRK33.js",
565
  "name": "plus",
566
  "imports": [
567
  "index.html"
568
  ]
569
  },
570
+ "_popover-DfUABjJn.js": {
571
+ "file": "assets/popover-DfUABjJn.js",
572
  "name": "popover",
573
  "imports": [
574
  "index.html"
575
  ]
576
  },
577
+ "_preferences-BvpZd0R3.js": {
578
+ "file": "assets/preferences-BvpZd0R3.js",
579
  "name": "preferences",
580
  "imports": [
581
  "index.html",
582
+ "_useMutation-CghM0QJV.js"
583
  ]
584
  },
585
+ "_refresh-cw-Dxd4PMEy.js": {
586
+ "file": "assets/refresh-cw-Dxd4PMEy.js",
587
  "name": "refresh-cw",
588
  "imports": [
589
  "index.html"
590
  ]
591
  },
592
+ "_researchTopic-BGjIaltV.js": {
593
+ "file": "assets/researchTopic-BGjIaltV.js",
594
  "name": "researchTopic",
595
  "imports": [
596
  "index.html",
597
+ "_useMutation-CghM0QJV.js"
598
  ]
599
  },
600
  "_safeExternalHref-CkBrsh84.js": {
601
  "file": "assets/safeExternalHref-CkBrsh84.js",
602
  "name": "safeExternalHref"
603
  },
604
+ "_savedPapersAuth-DXDrlsqf.js": {
605
+ "file": "assets/savedPapersAuth-DXDrlsqf.js",
606
  "name": "savedPapersAuth",
607
  "imports": [
608
  "index.html"
609
  ]
610
  },
611
+ "_search-DYkHdF95.js": {
612
+ "file": "assets/search-DYkHdF95.js",
613
  "name": "search",
614
  "imports": [
615
  "index.html"
616
  ]
617
  },
618
+ "_searchable-select-DpWXL1DE.js": {
619
+ "file": "assets/searchable-select-DpWXL1DE.js",
620
  "name": "searchable-select",
621
  "imports": [
622
  "index.html",
623
+ "_button-DWQq9odL.js",
624
+ "_popover-DfUABjJn.js",
625
+ "_dialog-DmgW-U8s.js",
626
+ "_search-DYkHdF95.js",
627
+ "_loader-circle-CK0KphTG.js"
628
  ]
629
  },
630
+ "_share-2-DLsCD6-o.js": {
631
+ "file": "assets/share-2-DLsCD6-o.js",
632
  "name": "share-2",
633
  "imports": [
634
  "index.html"
635
  ]
636
  },
637
+ "_skeleton-CR7iZvat.js": {
638
+ "file": "assets/skeleton-CR7iZvat.js",
639
  "name": "skeleton",
640
  "imports": [
641
  "index.html"
 
645
  "file": "assets/slug-BpH-Nkvz.js",
646
  "name": "slug"
647
  },
648
+ "_submissions-DGJA6GHh.js": {
649
+ "file": "assets/submissions-DGJA6GHh.js",
650
  "name": "submissions",
651
  "imports": [
652
  "index.html"
653
  ]
654
  },
655
+ "_switch-CcJYwO74.js": {
656
+ "file": "assets/switch-CcJYwO74.js",
657
  "name": "switch",
658
  "imports": [
659
  "index.html",
660
+ "_index-BrV3rrlz.js"
661
  ]
662
  },
663
+ "_taskIcons-CahA7ufj.js": {
664
+ "file": "assets/taskIcons-CahA7ufj.js",
665
  "name": "taskIcons",
666
  "imports": [
667
  "index.html",
668
+ "_search-DYkHdF95.js",
669
+ "_triangle-alert-pKSiIr7I.js",
670
+ "_share-2-DLsCD6-o.js",
671
+ "_trending-up-BEq2ujbp.js",
672
+ "_moon-DZ_f4YQI.js",
673
+ "_thumbs-up-CET5IGrw.js",
674
+ "_database-ETB2BmRO.js",
675
+ "_link-2-BfcxSDqR.js",
676
+ "_trophy-DSSnqPIH.js",
677
+ "_file-text-C0LuaY-J.js",
678
+ "_activity-DtoovMHc.js",
679
+ "_globe-BU0jIVuu.js"
680
+ ]
681
+ },
682
+ "_textarea-DVnF1aYO.js": {
683
+ "file": "assets/textarea-DVnF1aYO.js",
684
  "name": "textarea",
685
  "imports": [
686
  "index.html"
687
  ]
688
  },
689
+ "_thumbs-up-CET5IGrw.js": {
690
+ "file": "assets/thumbs-up-CET5IGrw.js",
691
  "name": "thumbs-up",
692
  "imports": [
693
  "index.html"
694
  ]
695
  },
696
+ "_transform-CRzM_tWE.js": {
697
+ "file": "assets/transform-CRzM_tWE.js",
698
  "name": "transform",
699
  "imports": [
700
  "index.html"
701
  ]
702
  },
703
+ "_trash-2-Di3uPTPp.js": {
704
+ "file": "assets/trash-2-Di3uPTPp.js",
705
  "name": "trash-2",
706
  "imports": [
707
  "index.html"
708
  ]
709
  },
710
+ "_trending-up-BEq2ujbp.js": {
711
+ "file": "assets/trending-up-BEq2ujbp.js",
712
  "name": "trending-up",
713
  "imports": [
714
  "index.html"
715
  ]
716
  },
717
+ "_triangle-alert-pKSiIr7I.js": {
718
+ "file": "assets/triangle-alert-pKSiIr7I.js",
719
  "name": "triangle-alert",
720
  "imports": [
721
  "index.html"
722
  ]
723
  },
724
+ "_trophy-DSSnqPIH.js": {
725
+ "file": "assets/trophy-DSSnqPIH.js",
726
  "name": "trophy",
727
  "imports": [
728
  "index.html"
729
  ]
730
  },
731
+ "_undo-2-DXioRTXo.js": {
732
+ "file": "assets/undo-2-DXioRTXo.js",
733
  "name": "undo-2",
734
  "imports": [
735
  "index.html"
736
  ]
737
  },
738
+ "_useDebounce-DFwSyDWe.js": {
739
+ "file": "assets/useDebounce-DFwSyDWe.js",
740
  "name": "useDebounce",
741
  "imports": [
742
  "index.html"
743
  ]
744
  },
745
+ "_useDocumentTitle-BLJX3S0V.js": {
746
+ "file": "assets/useDocumentTitle-BLJX3S0V.js",
747
  "name": "useDocumentTitle",
748
  "imports": [
749
  "index.html"
750
  ]
751
  },
752
+ "_useHashScrollOnReady-CAOj1vEh.js": {
753
+ "file": "assets/useHashScrollOnReady-CAOj1vEh.js",
754
  "name": "useHashScrollOnReady",
755
  "imports": [
756
  "index.html",
757
+ "_skeleton-CR7iZvat.js",
758
+ "_alert-BWfaZ9GT.js",
759
+ "_trending-up-BEq2ujbp.js"
760
  ]
761
  },
762
+ "_useInfiniteQuery-B5y4jCiW.js": {
763
+ "file": "assets/useInfiniteQuery-B5y4jCiW.js",
764
  "name": "useInfiniteQuery",
765
  "imports": [
766
  "index.html"
767
  ]
768
  },
769
+ "_useIntersectionObserver-CWHTKkKe.js": {
770
+ "file": "assets/useIntersectionObserver-CWHTKkKe.js",
771
  "name": "useIntersectionObserver",
772
  "imports": [
773
  "index.html"
774
  ]
775
  },
776
+ "_useMutation-CghM0QJV.js": {
777
+ "file": "assets/useMutation-CghM0QJV.js",
778
  "name": "useMutation",
779
  "imports": [
780
  "index.html"
781
  ]
782
  },
783
+ "_usePapers-BPV2QuS7.js": {
784
+ "file": "assets/usePapers-BPV2QuS7.js",
785
  "name": "usePapers",
786
  "imports": [
787
  "index.html",
788
+ "_PaperCard-CrdVyQE8.js",
789
+ "_popover-DfUABjJn.js",
790
+ "_Icon-BrPPGkYF.js",
791
+ "_skeleton-CR7iZvat.js",
792
+ "_useIntersectionObserver-CWHTKkKe.js",
793
+ "_useInfiniteQuery-B5y4jCiW.js"
794
  ]
795
  },
796
+ "_useQueries-tZOzAuCF.js": {
797
+ "file": "assets/useQueries-tZOzAuCF.js",
798
  "name": "useQueries",
799
  "imports": [
800
  "index.html"
801
  ]
802
  },
803
  "index.html": {
804
+ "file": "assets/index-CrYWgAoM.js",
805
  "name": "index",
806
  "src": "index.html",
807
  "isEntry": true,
 
1193
  "src": "src/assets/fonts/newsreader-normal-vietnamese.woff2"
1194
  },
1195
  "src/components/MathMarkdownText.tsx": {
1196
+ "file": "assets/MathMarkdownText-ClIBlvfP.js",
1197
  "name": "MathMarkdownText",
1198
  "src": "src/components/MathMarkdownText.tsx",
1199
  "isDynamicEntry": true,
1200
  "imports": [
1201
  "index.html",
1202
+ "_MarkdownText-BFhqzZUc.js",
1203
+ "_index-B3LpHPyz.js",
1204
+ "_PaperPreviewLink-Dvvn-oU_.js",
1205
+ "_index-QDUqgJJX.js",
1206
+ "_index-CDEsSSod.js",
1207
+ "_hover-card-Cwr5IQpG.js",
1208
+ "_useMutation-CghM0QJV.js",
1209
  "node_modules/katex/dist/katex.mjs"
1210
  ],
1211
  "css": [
 
1274
  ]
1275
  },
1276
  "src/components/SearchOverlay.tsx": {
1277
+ "file": "assets/SearchOverlay-qPkOwyAw.js",
1278
  "name": "SearchOverlay",
1279
  "src": "src/components/SearchOverlay.tsx",
1280
  "isDynamicEntry": true,
1281
  "imports": [
1282
  "index.html",
1283
+ "_LatexTitle-TFtKXSOA.js",
1284
+ "_useDebounce-DFwSyDWe.js",
1285
  "_colors-BkWRhvFI.js",
1286
+ "_transform-CRzM_tWE.js"
1287
  ]
1288
  },
1289
  "src/pages/AutonomousOperations.tsx": {
1290
+ "file": "assets/AutonomousOperations-BoDBu2Ao.js",
1291
  "name": "AutonomousOperations",
1292
  "src": "src/pages/AutonomousOperations.tsx",
1293
  "isDynamicEntry": true,
1294
  "imports": [
1295
  "index.html",
1296
+ "_useMutation-CghM0QJV.js",
1297
+ "_CronDashboard-Bu3MjRtq.js",
1298
+ "_badge-D7e99giJ.js",
1299
+ "_button-DWQq9odL.js",
1300
+ "_input-BUWCvGLt.js",
1301
+ "_activity-DtoovMHc.js",
1302
+ "_arrow-left-DAqylKH-.js"
1303
  ]
1304
  },
1305
  "src/pages/CronDashboard.tsx": {
1306
+ "file": "assets/CronDashboard-CgUGs6ks.js",
1307
  "name": "CronDashboard",
1308
  "src": "src/pages/CronDashboard.tsx",
1309
  "isDynamicEntry": true,
1310
  "imports": [
1311
  "index.html",
1312
+ "_useMutation-CghM0QJV.js",
1313
+ "_CronDashboard-Bu3MjRtq.js",
1314
+ "_badge-D7e99giJ.js",
1315
+ "_button-DWQq9odL.js",
1316
+ "_chevron-up-CfubiFzM.js",
1317
+ "_database-ETB2BmRO.js",
1318
+ "_trending-up-BEq2ujbp.js",
1319
+ "_activity-DtoovMHc.js",
1320
+ "_file-text-C0LuaY-J.js",
1321
+ "_triangle-alert-pKSiIr7I.js",
1322
+ "_external-link-Ou0N7lM_.js",
1323
+ "_refresh-cw-Dxd4PMEy.js",
1324
+ "_loader-circle-CK0KphTG.js",
1325
+ "_circle-check-Dce7_1J4.js",
1326
+ "_useInfiniteQuery-B5y4jCiW.js",
1327
+ "_chat-iF1C9QkJ.js"
1328
  ]
1329
  },
1330
  "src/pages/NotFound.tsx": {
1331
+ "file": "assets/NotFound-DDD3QkLQ.js",
1332
  "name": "NotFound",
1333
  "src": "src/pages/NotFound.tsx",
1334
  "isDynamicEntry": true,
 
1337
  ]
1338
  },
1339
  "src/pages/SubmissionsDashboard.tsx": {
1340
+ "file": "assets/SubmissionsDashboard-ByBqKqr2.js",
1341
  "name": "SubmissionsDashboard",
1342
  "src": "src/pages/SubmissionsDashboard.tsx",
1343
  "isDynamicEntry": true,
1344
  "imports": [
1345
  "index.html",
1346
+ "_cacheSync-DddHSdoZ.js",
1347
+ "_useMutation-CghM0QJV.js",
1348
+ "_useInfiniteQuery-B5y4jCiW.js",
1349
+ "_useQueries-tZOzAuCF.js",
1350
  "_safeExternalHref-CkBrsh84.js",
1351
+ "_submissions-DGJA6GHh.js",
1352
+ "_refresh-cw-Dxd4PMEy.js",
1353
+ "_loader-circle-CK0KphTG.js",
1354
+ "_circle-check-Dce7_1J4.js",
1355
+ "_undo-2-DXioRTXo.js"
1356
  ],
1357
  "css": [
1358
  "assets/SubmissionsDashboard-Dgd_CI1v.css"
1359
  ]
1360
  },
1361
  "src/views/AiDeadlinesView.tsx": {
1362
+ "file": "assets/AiDeadlinesView-BKnW1yMt.js",
1363
  "name": "AiDeadlinesView",
1364
  "src": "src/views/AiDeadlinesView.tsx",
1365
  "isDynamicEntry": true,
1366
  "imports": [
1367
  "index.html",
1368
+ "_switch-CcJYwO74.js",
1369
+ "_skeleton-CR7iZvat.js",
1370
+ "_alert-BWfaZ9GT.js",
1371
  "_safeExternalHref-CkBrsh84.js",
1372
+ "_dialog-DmgW-U8s.js",
1373
  "_deadlines-BG5SWwEG.js",
1374
+ "_useDocumentTitle-BLJX3S0V.js",
1375
+ "_pageTitles-DI-gHdpy.js",
1376
+ "_index-BrV3rrlz.js"
1377
  ]
1378
  },
1379
  "src/views/ApiDocsView.tsx": {
1380
+ "file": "assets/ApiDocsView-Cl7PFBES.js",
1381
  "name": "ApiDocsView",
1382
  "src": "src/views/ApiDocsView.tsx",
1383
  "isDynamicEntry": true,
1384
  "imports": [
1385
  "index.html",
1386
+ "_useDocumentTitle-BLJX3S0V.js",
1387
+ "_trophy-DSSnqPIH.js",
1388
+ "_database-ETB2BmRO.js",
1389
+ "_file-text-C0LuaY-J.js",
1390
+ "_index-QDUqgJJX.js"
1391
  ],
1392
  "css": [
1393
+ "assets/ApiDocsView-CTVtXHbx.css"
1394
  ]
1395
  },
1396
  "src/views/AstraForRoboticsView.tsx": {
1397
+ "file": "assets/AstraForRoboticsView-D28_KdB0.js",
1398
  "name": "AstraForRoboticsView",
1399
  "src": "src/views/AstraForRoboticsView.tsx",
1400
  "isDynamicEntry": true,
1401
  "imports": [
1402
  "index.html",
1403
+ "_usePapers-BPV2QuS7.js",
1404
+ "_alert-BWfaZ9GT.js",
1405
+ "_useDocumentTitle-BLJX3S0V.js",
1406
+ "_transform-CRzM_tWE.js",
1407
+ "_PaperCard-CrdVyQE8.js",
1408
+ "_AuthorAvatar-Cn_8_omA.js",
1409
+ "_SotaBadges-MTukWJ8b.js",
1410
  "_colors-BkWRhvFI.js",
1411
+ "_Icon-BrPPGkYF.js",
1412
+ "_LatexTitle-TFtKXSOA.js",
1413
  "_safeExternalHref-CkBrsh84.js",
1414
+ "_popover-DfUABjJn.js",
1415
+ "_skeleton-CR7iZvat.js",
1416
+ "_useIntersectionObserver-CWHTKkKe.js",
1417
+ "_useInfiniteQuery-B5y4jCiW.js"
1418
  ],
1419
  "css": [
1420
  "assets/AstraForRoboticsView-C_lTF_XB.css"
1421
  ]
1422
  },
1423
  "src/views/AuthorDetailView.tsx": {
1424
+ "file": "assets/AuthorDetailView-BoKDdqho.js",
1425
  "name": "AuthorDetailView",
1426
  "src": "src/views/AuthorDetailView.tsx",
1427
  "isDynamicEntry": true,
1428
  "imports": [
1429
  "index.html",
1430
+ "_AuthorAvatar-Cn_8_omA.js",
1431
+ "_usePapers-BPV2QuS7.js",
1432
+ "_ResearchFollowButton-BCIfaLgE.js",
1433
+ "_alert-BWfaZ9GT.js",
1434
+ "_skeleton-CR7iZvat.js",
1435
+ "_transform-CRzM_tWE.js",
1436
  "src/pages/NotFound.tsx",
1437
+ "_useDocumentTitle-BLJX3S0V.js",
1438
+ "_pageTitles-DI-gHdpy.js",
1439
+ "_PaperCard-CrdVyQE8.js",
1440
+ "_SotaBadges-MTukWJ8b.js",
1441
  "_colors-BkWRhvFI.js",
1442
+ "_Icon-BrPPGkYF.js",
1443
+ "_LatexTitle-TFtKXSOA.js",
1444
  "_safeExternalHref-CkBrsh84.js",
1445
+ "_popover-DfUABjJn.js",
1446
+ "_useIntersectionObserver-CWHTKkKe.js",
1447
+ "_useInfiniteQuery-B5y4jCiW.js",
1448
+ "_researchTopic-BGjIaltV.js",
1449
+ "_useMutation-CghM0QJV.js",
1450
+ "_plus-BFsfRK33.js"
1451
  ]
1452
  },
1453
  "src/views/AuthorizePaperEditView.tsx": {
1454
+ "file": "assets/AuthorizePaperEditView-BOB-cTLQ.js",
1455
  "name": "AuthorizePaperEditView",
1456
  "src": "src/views/AuthorizePaperEditView.tsx",
1457
  "isDynamicEntry": true,
1458
  "imports": [
1459
  "index.html",
1460
+ "_useMutation-CghM0QJV.js",
1461
+ "_button-DWQq9odL.js"
1462
  ]
1463
  },
1464
  "src/views/BenchmarkDetailView.tsx": {
1465
+ "file": "assets/BenchmarkDetailView-C5nz6Xbj.js",
1466
  "name": "BenchmarkDetailView",
1467
  "src": "src/views/BenchmarkDetailView.tsx",
1468
  "isDynamicEntry": true,
1469
  "imports": [
1470
  "index.html",
1471
+ "_ResearchFollowButton-BCIfaLgE.js",
1472
+ "_preferences-BvpZd0R3.js",
1473
+ "_LatexTitle-TFtKXSOA.js",
1474
+ "_ExternalSourceEvalBadge-BfVErjNU.js",
1475
+ "_switch-CcJYwO74.js",
1476
+ "_Icon-BrPPGkYF.js",
1477
+ "_skeleton-CR7iZvat.js",
1478
+ "_BenchmarkTrendSparkline-CXgXdB42.js",
1479
  "_safeExternalHref-CkBrsh84.js",
1480
  "_slug-BpH-Nkvz.js",
1481
  "src/pages/NotFound.tsx",
1482
+ "_LoadFailurePage-DERO_21B.js",
1483
+ "_useDocumentTitle-BLJX3S0V.js",
1484
+ "_pageTitles-DI-gHdpy.js",
1485
+ "_researchTopic-BGjIaltV.js",
1486
+ "_useMutation-CghM0QJV.js",
1487
+ "_plus-BFsfRK33.js",
1488
+ "_hover-card-Cwr5IQpG.js",
1489
+ "_index-BrV3rrlz.js",
1490
+ "_alert-BWfaZ9GT.js"
1491
  ],
1492
  "css": [
1493
  "assets/BenchmarkDetailView-CXxK75GR.css"
1494
  ]
1495
  },
1496
  "src/views/ChatView.tsx": {
1497
+ "file": "assets/ChatView-8yB6zv-u.js",
1498
  "name": "ChatView",
1499
  "src": "src/views/ChatView.tsx",
1500
  "isDynamicEntry": true,
1501
  "imports": [
1502
  "index.html",
1503
+ "_chatLifecycle-B8riqCVx.js",
1504
+ "_index-DViK7D7O.js",
1505
+ "_chat-iF1C9QkJ.js",
1506
+ "_McpShowcase-DuGSlHLG.js",
1507
+ "_share-2-DLsCD6-o.js",
1508
+ "_useMutation-CghM0QJV.js",
1509
+ "_Icon-BrPPGkYF.js",
1510
+ "_mlIntern-DtdFmmDf.js",
1511
+ "_openrouter-BtubNRjU.js",
1512
+ "_hover-card-Cwr5IQpG.js",
1513
+ "_CatalogEntityPreviewLink-DwN4bhsl.js",
1514
+ "_github-BnonuqZU.js",
1515
+ "_file-text-C0LuaY-J.js",
1516
+ "_PaperPreviewLink-Dvvn-oU_.js",
1517
+ "_index-QDUqgJJX.js",
1518
+ "_index-CDEsSSod.js",
1519
+ "_index-B3LpHPyz.js",
1520
  "node_modules/katex/dist/katex.mjs",
1521
+ "_thumbs-up-CET5IGrw.js",
1522
+ "_copy-Nx3dOYtx.js",
1523
+ "_arrow-left-DAqylKH-.js",
1524
+ "_external-link-Ou0N7lM_.js",
1525
+ "_plus-BFsfRK33.js",
1526
+ "_search-DYkHdF95.js",
1527
+ "_chevron-up-CfubiFzM.js",
1528
+ "_AuthorAvatar-Cn_8_omA.js",
1529
+ "_trash-2-Di3uPTPp.js",
1530
+ "_AgentLogos-B7GloLDi.js"
1531
  ],
1532
  "css": [
1533
  "assets/katex-wklAmtGL.css"
 
1595
  ]
1596
  },
1597
  "src/views/ConferenceDetailView.tsx": {
1598
+ "file": "assets/ConferenceDetailView-C9rZb6Fb.js",
1599
  "name": "ConferenceDetailView",
1600
  "src": "src/views/ConferenceDetailView.tsx",
1601
  "isDynamicEntry": true,
1602
  "imports": [
1603
  "index.html",
1604
+ "_AreaSection-0kfCUYRS.js",
1605
+ "_MarkdownText-BFhqzZUc.js",
1606
  "_areas-Dvi8w2dp.js",
1607
  "_colors-BkWRhvFI.js",
1608
  "_conferenceListings-BnmhBx-_.js",
1609
  "_deadlines-BG5SWwEG.js",
1610
+ "_transform-CRzM_tWE.js",
1611
+ "_skeleton-CR7iZvat.js",
1612
  "_safeExternalHref-CkBrsh84.js",
1613
+ "_LoadFailurePage-DERO_21B.js",
1614
+ "_useDocumentTitle-BLJX3S0V.js",
1615
+ "_pageTitles-DI-gHdpy.js",
1616
+ "_PaperPreviewLink-Dvvn-oU_.js",
1617
+ "_index-QDUqgJJX.js",
1618
+ "_index-CDEsSSod.js",
1619
+ "_hover-card-Cwr5IQpG.js",
1620
+ "_useMutation-CghM0QJV.js",
1621
+ "_alert-BWfaZ9GT.js",
1622
  "src/pages/NotFound.tsx"
1623
  ]
1624
  },
1625
  "src/views/ConferenceTaskView.tsx": {
1626
+ "file": "assets/ConferenceTaskView-CshfYFH5.js",
1627
  "name": "ConferenceTaskView",
1628
  "src": "src/views/ConferenceTaskView.tsx",
1629
  "isDynamicEntry": true,
1630
  "imports": [
1631
  "index.html",
1632
+ "_usePapers-BPV2QuS7.js",
1633
+ "_MarkdownText-BFhqzZUc.js",
1634
  "_conferenceListings-BnmhBx-_.js",
1635
+ "_transform-CRzM_tWE.js",
1636
+ "_LoadFailurePage-DERO_21B.js",
1637
+ "_PaperCard-CrdVyQE8.js",
1638
+ "_AuthorAvatar-Cn_8_omA.js",
1639
+ "_SotaBadges-MTukWJ8b.js",
1640
  "_colors-BkWRhvFI.js",
1641
+ "_Icon-BrPPGkYF.js",
1642
+ "_LatexTitle-TFtKXSOA.js",
1643
  "_safeExternalHref-CkBrsh84.js",
1644
+ "_popover-DfUABjJn.js",
1645
+ "_skeleton-CR7iZvat.js",
1646
+ "_useIntersectionObserver-CWHTKkKe.js",
1647
+ "_useInfiniteQuery-B5y4jCiW.js",
1648
+ "_PaperPreviewLink-Dvvn-oU_.js",
1649
+ "_index-QDUqgJJX.js",
1650
+ "_index-CDEsSSod.js",
1651
+ "_hover-card-Cwr5IQpG.js",
1652
+ "_useMutation-CghM0QJV.js",
1653
+ "_alert-BWfaZ9GT.js",
1654
  "src/pages/NotFound.tsx"
1655
  ]
1656
  },
1657
  "src/views/ConferencesIndexView.tsx": {
1658
+ "file": "assets/ConferencesIndexView-CH45BsDK.js",
1659
  "name": "ConferencesIndexView",
1660
  "src": "src/views/ConferencesIndexView.tsx",
1661
  "isDynamicEntry": true,
1662
  "imports": [
1663
  "index.html",
1664
  "_deadlines-BG5SWwEG.js",
1665
+ "_alert-BWfaZ9GT.js",
1666
+ "_AreaSection-0kfCUYRS.js",
1667
+ "_TaxonomySuggestionTile-WqJcc4Nh.js",
1668
+ "_useDocumentTitle-BLJX3S0V.js",
1669
+ "_pageTitles-DI-gHdpy.js",
1670
+ "_skeleton-CR7iZvat.js",
1671
+ "_SignInToEditDialog-Bv3LeRt3.js",
1672
+ "_button-DWQq9odL.js",
1673
+ "_input-BUWCvGLt.js",
1674
+ "_textarea-DVnF1aYO.js",
1675
+ "_searchable-select-DpWXL1DE.js",
1676
+ "_popover-DfUABjJn.js",
1677
+ "_dialog-DmgW-U8s.js",
1678
+ "_search-DYkHdF95.js",
1679
+ "_loader-circle-CK0KphTG.js",
1680
+ "_useMutation-CghM0QJV.js",
1681
+ "_submissions-DGJA6GHh.js",
1682
+ "_plus-BFsfRK33.js"
1683
  ]
1684
  },
1685
  "src/views/FeedView.tsx": {
1686
+ "file": "assets/FeedView-DvMSmEBv.js",
1687
  "name": "FeedView",
1688
  "src": "src/views/FeedView.tsx",
1689
  "isDynamicEntry": true,
1690
  "imports": [
1691
  "index.html",
1692
+ "_taskIcons-CahA7ufj.js",
1693
+ "_researchTopic-BGjIaltV.js",
1694
+ "_plus-BFsfRK33.js",
1695
+ "_dialog-DmgW-U8s.js",
1696
+ "_switch-CcJYwO74.js",
1697
+ "_useDebounce-DFwSyDWe.js",
1698
+ "_transform-CRzM_tWE.js",
1699
+ "_index-DViK7D7O.js",
1700
+ "_trash-2-Di3uPTPp.js",
1701
+ "_undo-2-DXioRTXo.js",
1702
+ "_arrow-up-right-LoGNLcfY.js",
1703
+ "_arrow-right-B2HgOPT1.js",
1704
  "_colors-BkWRhvFI.js",
1705
+ "_usePapers-BPV2QuS7.js",
1706
+ "_McpShowcase-DuGSlHLG.js",
1707
+ "_chat-iF1C9QkJ.js",
1708
+ "_skeleton-CR7iZvat.js",
1709
+ "_alert-BWfaZ9GT.js",
1710
+ "_useDocumentTitle-BLJX3S0V.js",
1711
+ "_pageTitles-DI-gHdpy.js",
1712
+ "_search-DYkHdF95.js",
1713
+ "_triangle-alert-pKSiIr7I.js",
1714
+ "_share-2-DLsCD6-o.js",
1715
+ "_trending-up-BEq2ujbp.js",
1716
+ "_moon-DZ_f4YQI.js",
1717
+ "_thumbs-up-CET5IGrw.js",
1718
+ "_database-ETB2BmRO.js",
1719
+ "_link-2-BfcxSDqR.js",
1720
+ "_trophy-DSSnqPIH.js",
1721
+ "_file-text-C0LuaY-J.js",
1722
+ "_activity-DtoovMHc.js",
1723
+ "_globe-BU0jIVuu.js",
1724
+ "_useMutation-CghM0QJV.js",
1725
+ "_index-BrV3rrlz.js",
1726
+ "_PaperCard-CrdVyQE8.js",
1727
+ "_AuthorAvatar-Cn_8_omA.js",
1728
+ "_SotaBadges-MTukWJ8b.js",
1729
+ "_Icon-BrPPGkYF.js",
1730
+ "_LatexTitle-TFtKXSOA.js",
1731
  "_safeExternalHref-CkBrsh84.js",
1732
+ "_popover-DfUABjJn.js",
1733
+ "_useIntersectionObserver-CWHTKkKe.js",
1734
+ "_useInfiniteQuery-B5y4jCiW.js",
1735
+ "_AgentLogos-B7GloLDi.js"
1736
  ]
1737
  },
1738
  "src/views/FollowingView.tsx": {
1739
+ "file": "assets/FollowingView-Ef0rRbud.js",
1740
  "name": "FollowingView",
1741
  "src": "src/views/FollowingView.tsx",
1742
  "isDynamicEntry": true,
1743
  "imports": [
1744
  "index.html",
1745
  "src/views/FeedView.tsx",
1746
+ "_taskIcons-CahA7ufj.js",
1747
+ "_search-DYkHdF95.js",
1748
+ "_triangle-alert-pKSiIr7I.js",
1749
+ "_share-2-DLsCD6-o.js",
1750
+ "_trending-up-BEq2ujbp.js",
1751
+ "_moon-DZ_f4YQI.js",
1752
+ "_thumbs-up-CET5IGrw.js",
1753
+ "_database-ETB2BmRO.js",
1754
+ "_link-2-BfcxSDqR.js",
1755
+ "_trophy-DSSnqPIH.js",
1756
+ "_file-text-C0LuaY-J.js",
1757
+ "_activity-DtoovMHc.js",
1758
+ "_globe-BU0jIVuu.js",
1759
+ "_researchTopic-BGjIaltV.js",
1760
+ "_useMutation-CghM0QJV.js",
1761
+ "_plus-BFsfRK33.js",
1762
+ "_dialog-DmgW-U8s.js",
1763
+ "_switch-CcJYwO74.js",
1764
+ "_index-BrV3rrlz.js",
1765
+ "_useDebounce-DFwSyDWe.js",
1766
+ "_transform-CRzM_tWE.js",
1767
+ "_index-DViK7D7O.js",
1768
+ "_chat-iF1C9QkJ.js",
1769
+ "_trash-2-Di3uPTPp.js",
1770
+ "_undo-2-DXioRTXo.js",
1771
+ "_arrow-up-right-LoGNLcfY.js",
1772
+ "_arrow-right-B2HgOPT1.js",
1773
  "_colors-BkWRhvFI.js",
1774
+ "_usePapers-BPV2QuS7.js",
1775
+ "_PaperCard-CrdVyQE8.js",
1776
+ "_AuthorAvatar-Cn_8_omA.js",
1777
+ "_SotaBadges-MTukWJ8b.js",
1778
+ "_Icon-BrPPGkYF.js",
1779
+ "_LatexTitle-TFtKXSOA.js",
1780
  "_safeExternalHref-CkBrsh84.js",
1781
+ "_popover-DfUABjJn.js",
1782
+ "_skeleton-CR7iZvat.js",
1783
+ "_useIntersectionObserver-CWHTKkKe.js",
1784
+ "_useInfiniteQuery-B5y4jCiW.js",
1785
+ "_McpShowcase-DuGSlHLG.js",
1786
+ "_AgentLogos-B7GloLDi.js",
1787
+ "_alert-BWfaZ9GT.js",
1788
+ "_useDocumentTitle-BLJX3S0V.js",
1789
+ "_pageTitles-DI-gHdpy.js"
1790
  ]
1791
  },
1792
  "src/views/FrameworksIndexView.tsx": {
1793
+ "file": "assets/FrameworksIndexView-flSR2rox.js",
1794
  "name": "FrameworksIndexView",
1795
  "src": "src/views/FrameworksIndexView.tsx",
1796
  "isDynamicEntry": true,
1797
  "imports": [
1798
  "index.html",
1799
+ "_Icon-BrPPGkYF.js",
1800
  "_colors-BkWRhvFI.js",
1801
  "_frameworks-DDA0P4Tf.js",
1802
+ "_useDocumentTitle-BLJX3S0V.js",
1803
+ "_pageTitles-DI-gHdpy.js"
1804
  ]
1805
  },
1806
  "src/views/McpView.tsx": {
1807
+ "file": "assets/McpView-DyrHDWUu.js",
1808
  "name": "McpView",
1809
  "src": "src/views/McpView.tsx",
1810
  "isDynamicEntry": true,
1811
  "imports": [
1812
  "index.html",
1813
+ "_useDocumentTitle-BLJX3S0V.js",
1814
+ "_github-BnonuqZU.js",
1815
+ "_arrow-up-right-LoGNLcfY.js",
1816
+ "_external-link-Ou0N7lM_.js",
1817
+ "_copy-Nx3dOYtx.js"
1818
  ],
1819
  "css": [
1820
  "assets/McpView-EGeqkP46.css"
1821
  ]
1822
  },
1823
  "src/views/MethodDetailView.tsx": {
1824
+ "file": "assets/MethodDetailView-DMGxspr_.js",
1825
  "name": "MethodDetailView",
1826
  "src": "src/views/MethodDetailView.tsx",
1827
  "isDynamicEntry": true,
1828
  "imports": [
1829
  "index.html",
1830
+ "_ResearchFollowButton-BCIfaLgE.js",
1831
+ "_SotaBadges-MTukWJ8b.js",
1832
+ "_usePapers-BPV2QuS7.js",
1833
+ "_MarkdownText-BFhqzZUc.js",
1834
  "_slug-BpH-Nkvz.js",
1835
+ "_transform-CRzM_tWE.js",
1836
+ "_skeleton-CR7iZvat.js",
1837
  "_safeExternalHref-CkBrsh84.js",
1838
  "src/pages/NotFound.tsx",
1839
+ "_LoadFailurePage-DERO_21B.js",
1840
+ "_useDocumentTitle-BLJX3S0V.js",
1841
+ "_pageTitles-DI-gHdpy.js",
1842
+ "_researchTopic-BGjIaltV.js",
1843
+ "_useMutation-CghM0QJV.js",
1844
+ "_plus-BFsfRK33.js",
1845
  "_colors-BkWRhvFI.js",
1846
+ "_PaperCard-CrdVyQE8.js",
1847
+ "_AuthorAvatar-Cn_8_omA.js",
1848
+ "_Icon-BrPPGkYF.js",
1849
+ "_LatexTitle-TFtKXSOA.js",
1850
+ "_popover-DfUABjJn.js",
1851
+ "_useIntersectionObserver-CWHTKkKe.js",
1852
+ "_useInfiniteQuery-B5y4jCiW.js",
1853
+ "_PaperPreviewLink-Dvvn-oU_.js",
1854
+ "_index-QDUqgJJX.js",
1855
+ "_index-CDEsSSod.js",
1856
+ "_hover-card-Cwr5IQpG.js",
1857
+ "_alert-BWfaZ9GT.js"
1858
  ]
1859
  },
1860
  "src/views/MethodsIndexView.tsx": {
1861
+ "file": "assets/MethodsIndexView-CAchc0n6.js",
1862
  "name": "MethodsIndexView",
1863
  "src": "src/views/MethodsIndexView.tsx",
1864
  "isDynamicEntry": true,
 
1866
  "index.html",
1867
  "_areas-Dvi8w2dp.js",
1868
  "_slug-BpH-Nkvz.js",
1869
+ "_alert-BWfaZ9GT.js",
1870
+ "_AreaSection-0kfCUYRS.js",
1871
+ "_TaxonomySuggestionTile-WqJcc4Nh.js",
1872
+ "_useHashScrollOnReady-CAOj1vEh.js",
1873
+ "_useDocumentTitle-BLJX3S0V.js",
1874
+ "_pageTitles-DI-gHdpy.js",
1875
+ "_skeleton-CR7iZvat.js",
1876
+ "_SignInToEditDialog-Bv3LeRt3.js",
1877
+ "_button-DWQq9odL.js",
1878
+ "_input-BUWCvGLt.js",
1879
+ "_textarea-DVnF1aYO.js",
1880
+ "_searchable-select-DpWXL1DE.js",
1881
+ "_popover-DfUABjJn.js",
1882
+ "_dialog-DmgW-U8s.js",
1883
+ "_search-DYkHdF95.js",
1884
+ "_loader-circle-CK0KphTG.js",
1885
+ "_useMutation-CghM0QJV.js",
1886
+ "_submissions-DGJA6GHh.js",
1887
+ "_plus-BFsfRK33.js",
1888
+ "_trending-up-BEq2ujbp.js"
1889
  ]
1890
  },
1891
  "src/views/OrganizationDetailView.tsx": {
1892
+ "file": "assets/OrganizationDetailView-B02_rOAe.js",
1893
  "name": "OrganizationDetailView",
1894
  "src": "src/views/OrganizationDetailView.tsx",
1895
  "isDynamicEntry": true,
1896
  "imports": [
1897
  "index.html",
1898
+ "_ResearchFollowButton-BCIfaLgE.js",
1899
+ "_MarkdownText-BFhqzZUc.js",
1900
+ "_OrganizationContributionGraph-BdogQKhU.js",
1901
+ "_usePapers-BPV2QuS7.js",
1902
+ "_searchable-select-DpWXL1DE.js",
1903
+ "_skeleton-CR7iZvat.js",
1904
+ "_transform-CRzM_tWE.js",
1905
  "_organizationNames-BVKzYEBp.js",
1906
  "src/pages/NotFound.tsx",
1907
+ "_LoadFailurePage-DERO_21B.js",
1908
+ "_useDocumentTitle-BLJX3S0V.js",
1909
+ "_pageTitles-DI-gHdpy.js",
1910
+ "_researchTopic-BGjIaltV.js",
1911
+ "_useMutation-CghM0QJV.js",
1912
+ "_plus-BFsfRK33.js",
1913
+ "_PaperPreviewLink-Dvvn-oU_.js",
1914
+ "_index-QDUqgJJX.js",
1915
+ "_index-CDEsSSod.js",
1916
+ "_hover-card-Cwr5IQpG.js",
1917
+ "_PaperCard-CrdVyQE8.js",
1918
+ "_AuthorAvatar-Cn_8_omA.js",
1919
+ "_SotaBadges-MTukWJ8b.js",
1920
  "_colors-BkWRhvFI.js",
1921
+ "_Icon-BrPPGkYF.js",
1922
+ "_LatexTitle-TFtKXSOA.js",
1923
  "_safeExternalHref-CkBrsh84.js",
1924
+ "_popover-DfUABjJn.js",
1925
+ "_useIntersectionObserver-CWHTKkKe.js",
1926
+ "_useInfiniteQuery-B5y4jCiW.js",
1927
+ "_button-DWQq9odL.js",
1928
+ "_dialog-DmgW-U8s.js",
1929
+ "_search-DYkHdF95.js",
1930
+ "_loader-circle-CK0KphTG.js",
1931
+ "_alert-BWfaZ9GT.js"
1932
  ]
1933
  },
1934
  "src/views/OrganizationsIndexView.tsx": {
1935
+ "file": "assets/OrganizationsIndexView-ZHhPKK_D.js",
1936
  "name": "OrganizationsIndexView",
1937
  "src": "src/views/OrganizationsIndexView.tsx",
1938
  "isDynamicEntry": true,
1939
  "imports": [
1940
  "index.html",
1941
+ "_alert-BWfaZ9GT.js",
1942
+ "_useDocumentTitle-BLJX3S0V.js",
1943
+ "_pageTitles-DI-gHdpy.js"
1944
  ],
1945
  "css": [
1946
  "assets/OrganizationsIndexView-CJnrfIkP.css"
1947
  ]
1948
  },
1949
  "src/views/PaperDetailView.tsx": {
1950
+ "file": "assets/PaperDetailView-CoP4_lkz.js",
1951
  "name": "PaperDetailView",
1952
  "src": "src/views/PaperDetailView.tsx",
1953
  "isDynamicEntry": true,
1954
  "imports": [
1955
  "index.html",
1956
+ "_useMutation-CghM0QJV.js",
1957
+ "_Icon-BrPPGkYF.js",
1958
+ "_SotaBadges-MTukWJ8b.js",
1959
+ "_LatexTitle-TFtKXSOA.js",
1960
+ "_preferences-BvpZd0R3.js",
1961
+ "_transform-CRzM_tWE.js",
1962
  "_paperReader-D1y30HyW.js",
1963
+ "_useDocumentTitle-BLJX3S0V.js",
1964
  "_safeExternalHref-CkBrsh84.js",
1965
+ "_mlIntern-DtdFmmDf.js",
1966
+ "_skeleton-CR7iZvat.js",
1967
+ "_alert-BWfaZ9GT.js",
1968
+ "_button-DWQq9odL.js",
1969
+ "_dialog-DmgW-U8s.js",
1970
+ "_AgentLogos-B7GloLDi.js",
1971
+ "_copy-Nx3dOYtx.js",
1972
+ "_cacheSync-DddHSdoZ.js",
1973
+ "_input-BUWCvGLt.js",
1974
+ "_searchable-select-DpWXL1DE.js",
1975
+ "_loader-circle-CK0KphTG.js",
1976
+ "_trash-2-Di3uPTPp.js",
1977
+ "_SignInToEditDialog-Bv3LeRt3.js",
1978
+ "_useQueries-tZOzAuCF.js",
1979
+ "_submissions-DGJA6GHh.js",
1980
+ "_database-ETB2BmRO.js",
1981
+ "_plus-BFsfRK33.js",
1982
+ "_search-DYkHdF95.js",
1983
+ "_badge-D7e99giJ.js",
1984
+ "_CatalogEntityPreviewLink-DwN4bhsl.js",
1985
+ "_globe-BU0jIVuu.js",
1986
+ "_github-BnonuqZU.js",
1987
+ "_index-BrV3rrlz.js",
1988
+ "_ExternalSourceEvalBadge-BfVErjNU.js",
1989
+ "_index-QDUqgJJX.js",
1990
+ "_index-CDEsSSod.js",
1991
+ "_useIntersectionObserver-CWHTKkKe.js",
1992
+ "_savedPapersAuth-DXDrlsqf.js",
1993
  "_organizationNames-BVKzYEBp.js",
1994
+ "_AuthorAvatar-Cn_8_omA.js",
1995
  "_colors-BkWRhvFI.js",
1996
+ "_popover-DfUABjJn.js",
1997
+ "_textarea-DVnF1aYO.js",
1998
+ "_hover-card-Cwr5IQpG.js"
1999
  ],
2000
  "css": [
2001
  "assets/PaperDetailView-DOQP9hzn.css"
2002
  ]
2003
  },
2004
  "src/views/PaperReaderView.tsx": {
2005
+ "file": "assets/PaperReaderView-B2w337O4.js",
2006
  "name": "PaperReaderView",
2007
  "src": "src/views/PaperReaderView.tsx",
2008
  "isDynamicEntry": true,
2009
  "imports": [
2010
  "index.html",
2011
+ "_chatLifecycle-B8riqCVx.js",
2012
+ "_MarkdownText-BFhqzZUc.js",
2013
  "_paperReader-D1y30HyW.js",
2014
+ "_chat-iF1C9QkJ.js",
2015
  "_safeExternalHref-CkBrsh84.js",
2016
  "src/views/ChatView.tsx",
2017
+ "_index-DViK7D7O.js",
2018
+ "_hover-card-Cwr5IQpG.js",
2019
+ "_CatalogEntityPreviewLink-DwN4bhsl.js",
2020
+ "_github-BnonuqZU.js",
2021
+ "_file-text-C0LuaY-J.js",
2022
+ "_PaperPreviewLink-Dvvn-oU_.js",
2023
+ "_index-QDUqgJJX.js",
2024
+ "_index-CDEsSSod.js",
2025
+ "_useMutation-CghM0QJV.js",
2026
+ "_index-B3LpHPyz.js",
2027
  "node_modules/katex/dist/katex.mjs",
2028
+ "_thumbs-up-CET5IGrw.js",
2029
+ "_copy-Nx3dOYtx.js",
2030
+ "_arrow-left-DAqylKH-.js",
2031
+ "_external-link-Ou0N7lM_.js",
2032
+ "_plus-BFsfRK33.js",
2033
+ "_search-DYkHdF95.js",
2034
+ "_chevron-up-CfubiFzM.js",
2035
+ "_AuthorAvatar-Cn_8_omA.js",
2036
+ "_trash-2-Di3uPTPp.js",
2037
+ "_McpShowcase-DuGSlHLG.js",
2038
+ "_AgentLogos-B7GloLDi.js",
2039
+ "_share-2-DLsCD6-o.js",
2040
+ "_Icon-BrPPGkYF.js",
2041
+ "_mlIntern-DtdFmmDf.js",
2042
+ "_openrouter-BtubNRjU.js"
2043
  ],
2044
  "css": [
2045
  "assets/katex-wklAmtGL.css"
 
2107
  ]
2108
  },
2109
  "src/views/PapersListView.tsx": {
2110
+ "file": "assets/PapersListView-BHQ1Gxhq.js",
2111
  "name": "PapersListView",
2112
  "src": "src/views/PapersListView.tsx",
2113
  "isDynamicEntry": true,
2114
  "imports": [
2115
  "index.html",
2116
+ "_SotaBadges-MTukWJ8b.js",
2117
+ "_Icon-BrPPGkYF.js",
2118
+ "_usePapers-BPV2QuS7.js",
2119
+ "_transform-CRzM_tWE.js",
2120
+ "_useDebounce-DFwSyDWe.js",
2121
+ "_skeleton-CR7iZvat.js",
2122
+ "_alert-BWfaZ9GT.js",
2123
  "_frameworks-DDA0P4Tf.js",
2124
+ "_useDocumentTitle-BLJX3S0V.js",
2125
+ "_pageTitles-DI-gHdpy.js",
2126
  "_colors-BkWRhvFI.js",
2127
+ "_PaperCard-CrdVyQE8.js",
2128
+ "_AuthorAvatar-Cn_8_omA.js",
2129
+ "_LatexTitle-TFtKXSOA.js",
2130
  "_safeExternalHref-CkBrsh84.js",
2131
+ "_popover-DfUABjJn.js",
2132
+ "_useIntersectionObserver-CWHTKkKe.js",
2133
+ "_useInfiniteQuery-B5y4jCiW.js"
2134
  ]
2135
  },
2136
  "src/views/PrivacyView.tsx": {
2137
+ "file": "assets/PrivacyView-DBM7Poji.js",
2138
  "name": "PrivacyView",
2139
  "src": "src/views/PrivacyView.tsx",
2140
  "isDynamicEntry": true,
2141
  "imports": [
2142
  "index.html",
2143
+ "_useDocumentTitle-BLJX3S0V.js"
2144
  ]
2145
  },
2146
  "src/views/RateLimitsView.tsx": {
2147
+ "file": "assets/RateLimitsView-BfkqehsC.js",
2148
  "name": "RateLimitsView",
2149
  "src": "src/views/RateLimitsView.tsx",
2150
  "isDynamicEntry": true,
 
2153
  ]
2154
  },
2155
  "src/views/SavedPapersView.tsx": {
2156
+ "file": "assets/SavedPapersView-CoqLkNnl.js",
2157
  "name": "SavedPapersView",
2158
  "src": "src/views/SavedPapersView.tsx",
2159
  "isDynamicEntry": true,
2160
  "imports": [
2161
  "index.html",
2162
+ "_PaperCard-CrdVyQE8.js",
2163
+ "_SotaBadges-MTukWJ8b.js",
2164
+ "_skeleton-CR7iZvat.js",
2165
+ "_alert-BWfaZ9GT.js",
2166
+ "_transform-CRzM_tWE.js",
2167
+ "_savedPapersAuth-DXDrlsqf.js",
2168
+ "_AuthorAvatar-Cn_8_omA.js",
2169
+ "_Icon-BrPPGkYF.js",
2170
+ "_LatexTitle-TFtKXSOA.js",
2171
  "_safeExternalHref-CkBrsh84.js",
2172
  "_colors-BkWRhvFI.js"
2173
  ]
2174
  },
2175
  "src/views/SettingsView.tsx": {
2176
+ "file": "assets/SettingsView-C-3azoFc.js",
2177
  "name": "SettingsView",
2178
  "src": "src/views/SettingsView.tsx",
2179
  "isDynamicEntry": true,
2180
  "imports": [
2181
  "index.html",
2182
+ "_useMutation-CghM0QJV.js",
2183
+ "_researchTopic-BGjIaltV.js",
2184
+ "_switch-CcJYwO74.js",
2185
+ "_arrow-right-B2HgOPT1.js",
2186
+ "_chat-iF1C9QkJ.js",
2187
+ "_useDocumentTitle-BLJX3S0V.js",
2188
+ "_openrouter-BtubNRjU.js",
2189
+ "_preferences-BvpZd0R3.js",
2190
+ "_external-link-Ou0N7lM_.js",
2191
+ "_moon-DZ_f4YQI.js",
2192
+ "_index-BrV3rrlz.js"
2193
  ]
2194
  },
2195
  "src/views/SharedChatView.tsx": {
2196
+ "file": "assets/SharedChatView-D4-MfRLk.js",
2197
  "name": "SharedChatView",
2198
  "src": "src/views/SharedChatView.tsx",
2199
  "isDynamicEntry": true,
2200
  "imports": [
2201
  "index.html",
2202
+ "_chatLifecycle-B8riqCVx.js",
2203
+ "_index-DViK7D7O.js",
2204
+ "_chat-iF1C9QkJ.js",
2205
+ "_hover-card-Cwr5IQpG.js",
2206
+ "_CatalogEntityPreviewLink-DwN4bhsl.js",
2207
+ "_github-BnonuqZU.js",
2208
+ "_file-text-C0LuaY-J.js",
2209
+ "_PaperPreviewLink-Dvvn-oU_.js",
2210
+ "_index-QDUqgJJX.js",
2211
+ "_index-CDEsSSod.js",
2212
+ "_useMutation-CghM0QJV.js",
2213
+ "_index-B3LpHPyz.js",
2214
  "node_modules/katex/dist/katex.mjs",
2215
+ "_thumbs-up-CET5IGrw.js",
2216
+ "_copy-Nx3dOYtx.js",
2217
+ "_arrow-left-DAqylKH-.js",
2218
+ "_external-link-Ou0N7lM_.js",
2219
+ "_plus-BFsfRK33.js",
2220
+ "_search-DYkHdF95.js",
2221
+ "_chevron-up-CfubiFzM.js",
2222
+ "_AuthorAvatar-Cn_8_omA.js",
2223
+ "_trash-2-Di3uPTPp.js"
2224
  ],
2225
  "css": [
2226
  "assets/katex-wklAmtGL.css"
 
2288
  ]
2289
  },
2290
  "src/views/StagingAccessRequestView.tsx": {
2291
+ "file": "assets/StagingAccessRequestView-B5H5WxIC.js",
2292
  "name": "StagingAccessRequestView",
2293
  "src": "src/views/StagingAccessRequestView.tsx",
2294
  "isDynamicEntry": true,
2295
  "imports": [
2296
  "index.html",
2297
+ "_circle-check-Dce7_1J4.js"
2298
  ]
2299
  },
2300
  "src/views/SubmitView.tsx": {
2301
+ "file": "assets/SubmitView-q_59NsMf.js",
2302
  "name": "SubmitView",
2303
  "src": "src/views/SubmitView.tsx",
2304
  "isDynamicEntry": true,
2305
  "imports": [
2306
  "index.html",
2307
+ "_useMutation-CghM0QJV.js",
2308
+ "_alert-BWfaZ9GT.js",
2309
+ "_button-DWQq9odL.js",
2310
+ "_input-BUWCvGLt.js",
2311
+ "_textarea-DVnF1aYO.js",
2312
+ "_cacheSync-DddHSdoZ.js"
2313
  ]
2314
  },
2315
  "src/views/TagBrowseView.tsx": {
2316
+ "file": "assets/TagBrowseView-qC9jrIi5.js",
2317
  "name": "TagBrowseView",
2318
  "src": "src/views/TagBrowseView.tsx",
2319
  "isDynamicEntry": true,
2320
  "imports": [
2321
  "index.html",
2322
+ "_ResearchFollowButton-BCIfaLgE.js",
2323
+ "_SotaBadges-MTukWJ8b.js",
2324
+ "_usePapers-BPV2QuS7.js",
2325
+ "_arrow-right-B2HgOPT1.js",
2326
+ "_BenchmarkTrendSparkline-CXgXdB42.js",
2327
+ "_MarkdownText-BFhqzZUc.js",
2328
  "_frameworks-DDA0P4Tf.js",
2329
+ "_preferences-BvpZd0R3.js",
2330
  "_slug-BpH-Nkvz.js",
2331
+ "_transform-CRzM_tWE.js",
2332
+ "_skeleton-CR7iZvat.js",
2333
  "src/pages/NotFound.tsx",
2334
+ "_LoadFailurePage-DERO_21B.js",
2335
+ "_useDocumentTitle-BLJX3S0V.js",
2336
+ "_pageTitles-DI-gHdpy.js",
2337
+ "_trophy-DSSnqPIH.js",
2338
+ "_github-BnonuqZU.js",
2339
+ "_researchTopic-BGjIaltV.js",
2340
+ "_useMutation-CghM0QJV.js",
2341
+ "_plus-BFsfRK33.js",
2342
  "_colors-BkWRhvFI.js",
2343
+ "_PaperCard-CrdVyQE8.js",
2344
+ "_AuthorAvatar-Cn_8_omA.js",
2345
+ "_Icon-BrPPGkYF.js",
2346
+ "_LatexTitle-TFtKXSOA.js",
2347
  "_safeExternalHref-CkBrsh84.js",
2348
+ "_popover-DfUABjJn.js",
2349
+ "_useIntersectionObserver-CWHTKkKe.js",
2350
+ "_useInfiniteQuery-B5y4jCiW.js",
2351
+ "_PaperPreviewLink-Dvvn-oU_.js",
2352
+ "_index-QDUqgJJX.js",
2353
+ "_index-CDEsSSod.js",
2354
+ "_hover-card-Cwr5IQpG.js",
2355
+ "_alert-BWfaZ9GT.js"
2356
  ]
2357
  },
2358
  "src/views/TagsIndexView.tsx": {
2359
+ "file": "assets/TagsIndexView-Dr3oIosn.js",
2360
  "name": "TagsIndexView",
2361
  "src": "src/views/TagsIndexView.tsx",
2362
  "isDynamicEntry": true,
2363
  "imports": [
2364
  "index.html",
2365
  "_colors-BkWRhvFI.js",
2366
+ "_transform-CRzM_tWE.js",
2367
  "_slug-BpH-Nkvz.js",
2368
+ "_taskIcons-CahA7ufj.js",
2369
+ "_alert-BWfaZ9GT.js",
2370
+ "_AreaSection-0kfCUYRS.js",
2371
+ "_TaxonomySuggestionTile-WqJcc4Nh.js",
2372
+ "_useHashScrollOnReady-CAOj1vEh.js",
2373
  "_areas-Dvi8w2dp.js",
2374
+ "_useDocumentTitle-BLJX3S0V.js",
2375
+ "_pageTitles-DI-gHdpy.js",
2376
+ "_search-DYkHdF95.js",
2377
+ "_triangle-alert-pKSiIr7I.js",
2378
+ "_share-2-DLsCD6-o.js",
2379
+ "_trending-up-BEq2ujbp.js",
2380
+ "_moon-DZ_f4YQI.js",
2381
+ "_thumbs-up-CET5IGrw.js",
2382
+ "_database-ETB2BmRO.js",
2383
+ "_link-2-BfcxSDqR.js",
2384
+ "_trophy-DSSnqPIH.js",
2385
+ "_file-text-C0LuaY-J.js",
2386
+ "_activity-DtoovMHc.js",
2387
+ "_globe-BU0jIVuu.js",
2388
+ "_skeleton-CR7iZvat.js",
2389
+ "_SignInToEditDialog-Bv3LeRt3.js",
2390
+ "_button-DWQq9odL.js",
2391
+ "_input-BUWCvGLt.js",
2392
+ "_textarea-DVnF1aYO.js",
2393
+ "_searchable-select-DpWXL1DE.js",
2394
+ "_popover-DfUABjJn.js",
2395
+ "_dialog-DmgW-U8s.js",
2396
+ "_loader-circle-CK0KphTG.js",
2397
+ "_useMutation-CghM0QJV.js",
2398
+ "_submissions-DGJA6GHh.js",
2399
+ "_plus-BFsfRK33.js"
2400
  ]
2401
  },
2402
  "src/views/TopicView.tsx": {
2403
+ "file": "assets/TopicView-DvjLNVgw.js",
2404
  "name": "TopicView",
2405
  "src": "src/views/TopicView.tsx",
2406
  "isDynamicEntry": true,
2407
  "imports": [
2408
  "index.html",
2409
+ "_usePapers-BPV2QuS7.js",
2410
+ "_skeleton-CR7iZvat.js",
2411
+ "_researchTopic-BGjIaltV.js",
2412
+ "_transform-CRzM_tWE.js",
2413
+ "_plus-BFsfRK33.js",
2414
+ "_link-2-BfcxSDqR.js",
2415
+ "_PaperCard-CrdVyQE8.js",
2416
+ "_AuthorAvatar-Cn_8_omA.js",
2417
+ "_SotaBadges-MTukWJ8b.js",
2418
  "_colors-BkWRhvFI.js",
2419
+ "_Icon-BrPPGkYF.js",
2420
+ "_LatexTitle-TFtKXSOA.js",
2421
  "_safeExternalHref-CkBrsh84.js",
2422
+ "_popover-DfUABjJn.js",
2423
+ "_useIntersectionObserver-CWHTKkKe.js",
2424
+ "_useInfiniteQuery-B5y4jCiW.js",
2425
+ "_useMutation-CghM0QJV.js"
2426
  ]
2427
  },
2428
  "src/views/TrendsView.tsx": {
2429
+ "file": "assets/TrendsView-Cs9lxBht.js",
2430
  "name": "TrendsView",
2431
  "src": "src/views/TrendsView.tsx",
2432
  "isDynamicEntry": true,
2433
  "imports": [
2434
  "index.html",
2435
+ "_alert-BWfaZ9GT.js",
2436
+ "_skeleton-CR7iZvat.js",
2437
+ "_useDocumentTitle-BLJX3S0V.js",
2438
+ "_pageTitles-DI-gHdpy.js"
2439
  ]
2440
  },
2441
  "src/views/UserProfileView.tsx": {
2442
+ "file": "assets/UserProfileView-M5yW_0id.js",
2443
  "name": "UserProfileView",
2444
  "src": "src/views/UserProfileView.tsx",
2445
  "isDynamicEntry": true,
2446
  "imports": [
2447
  "index.html",
2448
+ "_OrganizationContributionGraph-BdogQKhU.js",
2449
+ "_skeleton-CR7iZvat.js"
2450
  ]
2451
  }
2452
  }
assets/{AgentLogos-e4Q9yKFL.js → AgentLogos-B7GloLDi.js} RENAMED
@@ -1 +1 @@
1
- import{j as e}from"./index-DL_JM2Ot.js";const s="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='256'%20height='257'%20preserveAspectRatio='xMidYMid'%20viewBox='0%200%20256%20257'%3e%3cpath%20fill='%23D97757'%20d='m50.228%20170.321%2050.357-28.257.843-2.463-.843-1.361h-2.462l-8.426-.518-28.775-.778-24.952-1.037-24.175-1.296-6.092-1.297L0%20125.796l.583-3.759%205.12-3.434%207.324.648%2016.202%201.101%2024.304%201.685%2017.629%201.037%2026.118%202.722h4.148l.583-1.685-1.426-1.037-1.101-1.037-25.147-17.045-27.22-18.017-14.258-10.37-7.713-5.25-3.888-4.925-1.685-10.758%207-7.713%209.397.649%202.398.648%209.527%207.323%2020.35%2015.75L94.817%2091.9l3.889%203.24%201.555-1.102.195-.777-1.75-2.917-14.453-26.118-15.425-26.572-6.87-11.018-1.814-6.61c-.648-2.723-1.102-4.991-1.102-7.778l7.972-10.823L71.42%200%2082.05%201.426l4.472%203.888%206.61%2015.101%2010.694%2023.786%2016.591%2032.34%204.861%209.592%202.592%208.879.973%202.722h1.685v-1.556l1.36-18.211%202.528-22.36%202.463-28.776.843-8.1%204.018-9.722%207.971-5.25%206.222%202.981%205.12%207.324-.713%204.73-3.046%2019.768-5.962%2030.98-3.889%2020.739h2.268l2.593-2.593%2010.499-13.934%2017.628-22.036%207.778-8.749%209.073-9.657%205.833-4.601h11.018l8.1%2012.055-3.628%2012.443-11.342%2014.388-9.398%2012.184-13.48%2018.147-8.426%2014.518.778%201.166%202.01-.194%2030.46-6.481%2016.462-2.982%2019.637-3.37%208.88%204.148.971%204.213-3.5%208.62-20.998%205.184-24.628%204.926-36.682%208.685-.454.324.519.648%2016.526%201.555%207.065.389h17.304l32.21%202.398%208.426%205.574%205.055%206.805-.843%205.184-12.962%206.611-17.498-4.148-40.83-9.721-14-3.5h-1.944v1.167l11.666%2011.406%2021.387%2019.314%2026.767%2024.887%201.36%206.157-3.434%204.86-3.63-.518-23.526-17.693-9.073-7.972-20.545-17.304h-1.36v1.814l4.73%206.935%2025.017%2037.59%201.296%2011.536-1.814%203.76-6.481%202.268-7.13-1.297-14.647-20.544-15.1-23.138-12.185-20.739-1.49.843-7.194%2077.448-3.37%203.953-7.778%202.981-6.48-4.925-3.436-7.972%203.435-15.749%204.148-20.544%203.37-16.333%203.046-20.285%201.815-6.74-.13-.454-1.49.194-15.295%2020.999-23.267%2031.433-18.406%2019.702-4.407%201.75-7.648-3.954.713-7.064%204.277-6.286%2025.47-32.405%2015.36-20.092%209.917-11.6-.065-1.686h-.583L44.07%20198.125l-12.055%201.555-5.185-4.86.648-7.972%202.463-2.593%2020.35-13.999-.064.065Z'/%3e%3c/svg%3e",a="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='256'%20height='257'%20preserveAspectRatio='xMidYMid'%20viewBox='0%200%20256%20257'%3e%3cpath%20fill='%23D97757'%20d='m50.228%20170.321%2050.357-28.257.843-2.463-.843-1.361h-2.462l-8.426-.518-28.775-.778-24.952-1.037-24.175-1.296-6.092-1.297L0%20125.796l.583-3.759%205.12-3.434%207.324.648%2016.202%201.101%2024.304%201.685%2017.629%201.037%2026.118%202.722h4.148l.583-1.685-1.426-1.037-1.101-1.037-25.147-17.045-27.22-18.017-14.258-10.37-7.713-5.25-3.888-4.925-1.685-10.758%207-7.713%209.397.649%202.398.648%209.527%207.323%2020.35%2015.75L94.817%2091.9l3.889%203.24%201.555-1.102.195-.777-1.75-2.917-14.453-26.118-15.425-26.572-6.87-11.018-1.814-6.61c-.648-2.723-1.102-4.991-1.102-7.778l7.972-10.823L71.42%200%2082.05%201.426l4.472%203.888%206.61%2015.101%2010.694%2023.786%2016.591%2032.34%204.861%209.592%202.592%208.879.973%202.722h1.685v-1.556l1.36-18.211%202.528-22.36%202.463-28.776.843-8.1%204.018-9.722%207.971-5.25%206.222%202.981%205.12%207.324-.713%204.73-3.046%2019.768-5.962%2030.98-3.889%2020.739h2.268l2.593-2.593%2010.499-13.934%2017.628-22.036%207.778-8.749%209.073-9.657%205.833-4.601h11.018l8.1%2012.055-3.628%2012.443-11.342%2014.388-9.398%2012.184-13.48%2018.147-8.426%2014.518.778%201.166%202.01-.194%2030.46-6.481%2016.462-2.982%2019.637-3.37%208.88%204.148.971%204.213-3.5%208.62-20.998%205.184-24.628%204.926-36.682%208.685-.454.324.519.648%2016.526%201.555%207.065.389h17.304l32.21%202.398%208.426%205.574%205.055%206.805-.843%205.184-12.962%206.611-17.498-4.148-40.83-9.721-14-3.5h-1.944v1.167l11.666%2011.406%2021.387%2019.314%2026.767%2024.887%201.36%206.157-3.434%204.86-3.63-.518-23.526-17.693-9.073-7.972-20.545-17.304h-1.36v1.814l4.73%206.935%2025.017%2037.59%201.296%2011.536-1.814%203.76-6.481%202.268-7.13-1.297-14.647-20.544-15.1-23.138-12.185-20.739-1.49.843-7.194%2077.448-3.37%203.953-7.778%202.981-6.48-4.925-3.436-7.972%203.435-15.749%204.148-20.544%203.37-16.333%203.046-20.285%201.815-6.74-.13-.454-1.49.194-15.295%2020.999-23.267%2031.433-18.406%2019.702-4.407%201.75-7.648-3.954.713-7.064%204.277-6.286%2025.47-32.405%2015.36-20.092%209.917-11.6-.065-1.686h-.583L44.07%20198.125l-12.055%201.555-5.185-4.86.648-7.972%202.463-2.593%2020.35-13.999-.064.065Z'/%3e%3c/svg%3e",h="data:image/svg+xml,%3csvg%20fill='%23111'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eCodex%3c/title%3e%3cpath%20clip-rule='evenodd'%20d='M8.086.457a6.105%206.105%200%20013.046-.415c1.333.153%202.521.72%203.564%201.7a.117.117%200%2000.107.029c1.408-.346%202.762-.224%204.061.366l.063.03.154.076c1.357.703%202.33%201.77%202.918%203.198.278.679.418%201.388.421%202.126a5.655%205.655%200%2001-.18%201.631.167.167%200%2000.04.155%205.982%205.982%200%20011.578%202.891c.385%201.901-.01%203.615-1.183%205.14l-.182.22a6.063%206.063%200%2001-2.934%201.851.162.162%200%2000-.108.102c-.255.736-.511%201.364-.987%201.992-1.199%201.582-2.962%202.462-4.948%202.451-1.583-.008-2.986-.587-4.21-1.736a.145.145%200%2000-.14-.032c-.518.167-1.04.191-1.604.185a5.924%205.924%200%2001-2.595-.622%206.058%206.058%200%2001-2.146-1.781c-.203-.269-.404-.522-.551-.821a7.74%207.74%200%2001-.495-1.283%206.11%206.11%200%2001-.017-3.064.166.166%200%2000.008-.074.115.115%200%2000-.037-.064%205.958%205.958%200%2001-1.38-2.202%205.196%205.196%200%2001-.333-1.589%206.915%206.915%200%2001.188-2.132c.45-1.484%201.309-2.648%202.577-3.493.282-.188.55-.334.802-.438.286-.12.573-.22.861-.304a.129.129%200%2000.087-.087A6.016%206.016%200%20015.635%202.31C6.315%201.464%207.132.846%208.086.457zm-.804%207.85a.848.848%200%2000-1.473.842l1.694%202.965-1.688%202.848a.849.849%200%20001.46.864l1.94-3.272a.849.849%200%2000.007-.854l-1.94-3.393zm5.446%206.24a.849.849%200%20000%201.695h4.848a.849.849%200%20000-1.696h-4.848z'%3e%3c/path%3e%3c/svg%3e",o="data:image/svg+xml,%3csvg%20fill='%23fff'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eCodex%3c/title%3e%3cpath%20clip-rule='evenodd'%20d='M8.086.457a6.105%206.105%200%20013.046-.415c1.333.153%202.521.72%203.564%201.7a.117.117%200%2000.107.029c1.408-.346%202.762-.224%204.061.366l.063.03.154.076c1.357.703%202.33%201.77%202.918%203.198.278.679.418%201.388.421%202.126a5.655%205.655%200%2001-.18%201.631.167.167%200%2000.04.155%205.982%205.982%200%20011.578%202.891c.385%201.901-.01%203.615-1.183%205.14l-.182.22a6.063%206.063%200%2001-2.934%201.851.162.162%200%2000-.108.102c-.255.736-.511%201.364-.987%201.992-1.199%201.582-2.962%202.462-4.948%202.451-1.583-.008-2.986-.587-4.21-1.736a.145.145%200%2000-.14-.032c-.518.167-1.04.191-1.604.185a5.924%205.924%200%2001-2.595-.622%206.058%206.058%200%2001-2.146-1.781c-.203-.269-.404-.522-.551-.821a7.74%207.74%200%2001-.495-1.283%206.11%206.11%200%2001-.017-3.064.166.166%200%2000.008-.074.115.115%200%2000-.037-.064%205.958%205.958%200%2001-1.38-2.202%205.196%205.196%200%2001-.333-1.589%206.915%206.915%200%2001.188-2.132c.45-1.484%201.309-2.648%202.577-3.493.282-.188.55-.334.802-.438.286-.12.573-.22.861-.304a.129.129%200%2000.087-.087A6.016%206.016%200%20015.635%202.31C6.315%201.464%207.132.846%208.086.457zm-.804%207.85a.848.848%200%2000-1.473.842l1.694%202.965-1.688%202.848a.849.849%200%20001.46.864l1.94-3.272a.849.849%200%2000.007-.854l-1.94-3.393zm5.446%206.24a.849.849%200%20000%201.695h4.848a.849.849%200%20000-1.696h-4.848z'%3e%3c/path%3e%3c/svg%3e",r="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='cursor_light__Ebene_1'%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20viewBox='0%200%20466.73%20532.09'%3e%3c!--Generator:%20Adobe%20Illustrator%2029.6.1,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%202.1.1%20Build%209)--%3e%3cdefs%3e%3cstyle%3e.cursor_light__st0{fill:%2326251e}%3c/style%3e%3c/defs%3e%3cpath%20class='cursor_light__st0'%20d='M457.43,125.94L244.42,2.96c-6.84-3.95-15.28-3.95-22.12,0L9.3,125.94c-5.75,3.32-9.3,9.46-9.3,16.11v247.99c0,6.65,3.55,12.79,9.3,16.11l213.01,122.98c6.84,3.95,15.28,3.95,22.12,0l213.01-122.98c5.75-3.32,9.3-9.46,9.3-16.11v-247.99c0-6.65-3.55-12.79-9.3-16.11h-.01ZM444.05,151.99l-205.63,356.16c-1.39,2.4-5.06,1.42-5.06-1.36v-233.21c0-4.66-2.49-8.97-6.53-11.31L24.87,145.67c-2.4-1.39-1.42-5.06,1.36-5.06h411.26c5.84,0,9.49,6.33,6.57,11.39h-.01Z'/%3e%3c/svg%3e",d="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='cursor_dark__Ebene_1'%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20viewBox='0%200%20466.73%20532.09'%3e%3c!--Generator:%20Adobe%20Illustrator%2029.6.1,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%202.1.1%20Build%209)--%3e%3cdefs%3e%3cstyle%3e.cursor_dark__st0{fill:%23edecec}%3c/style%3e%3c/defs%3e%3cpath%20class='cursor_dark__st0'%20d='M457.43,125.94L244.42,2.96c-6.84-3.95-15.28-3.95-22.12,0L9.3,125.94c-5.75,3.32-9.3,9.46-9.3,16.11v247.99c0,6.65,3.55,12.79,9.3,16.11l213.01,122.98c6.84,3.95,15.28,3.95,22.12,0l213.01-122.98c5.75-3.32,9.3-9.46,9.3-16.11v-247.99c0-6.65-3.55-12.79-9.3-16.11h-.01ZM444.05,151.99l-205.63,356.16c-1.39,2.4-5.06,1.42-5.06-1.36v-233.21c0-4.66-2.49-8.97-6.53-11.31L24.87,145.67c-2.4-1.39-1.42-5.06,1.36-5.06h411.26c5.84,0,9.49,6.33,6.57,11.39h-.01Z'/%3e%3c/svg%3e",n="data:image/svg+xml,%3csvg%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='512'%20height='512'%20fill='%23FDFCFC'/%3e%3cpath%20d='M320%20224V352H192V224H320Z'%20fill='%23E6E5E6'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M384%20416H128V96H384V416ZM320%20160H192V352H320V160Z'%20fill='%2317181C'/%3e%3c/svg%3e",g="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='512'%20height='512'%3e%3csvg%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='512'%20height='512'%20fill='%23131010'%3e%3c/rect%3e%3cpath%20d='M320%20224V352H192V224H320Z'%20fill='%235A5858'%3e%3c/path%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M384%20416H128V96H384V416ZM320%20160H192V352H320V160Z'%20fill='white'%3e%3c/path%3e%3c/svg%3e%3cstyle%3e@media%20(prefers-color-scheme:%20light)%20{%20:root%20{%20filter:%20none;%20}%20}%20@media%20(prefers-color-scheme:%20dark)%20{%20:root%20{%20filter:%20none;%20}%20}%20%3c/style%3e%3c/svg%3e",i=[{name:"Claude",light:s,dark:a},{name:"Codex",light:h,dark:o},{name:"Cursor",light:r,dark:d},{name:"OpenCode",light:n,dark:g}];function w(){return e.jsx("span",{className:"inline-flex shrink-0 items-center gap-1.5","aria-hidden":"true",children:i.map(({name:l,light:t,dark:c})=>e.jsxs("span",{title:l,className:"inline-flex h-[18px] w-[18px]",children:[e.jsx("img",{src:t,alt:"",width:18,height:18,className:"h-full w-full object-contain dark:hidden"}),e.jsx("img",{src:c,alt:"",width:18,height:18,className:"hidden h-full w-full object-contain dark:block"})]},l))})}function x(){return e.jsx("ul",{className:"flex flex-wrap gap-2","aria-label":"Supported coding agents",children:i.map(({name:l,light:t,dark:c})=>e.jsxs("li",{className:"inline-flex items-center gap-2 rounded-full border px-3 py-1 text-sm",children:[e.jsx("img",{src:t,alt:"",width:18,height:18,className:"h-[18px] w-[18px] object-contain dark:hidden"}),e.jsx("img",{src:c,alt:"",width:18,height:18,className:"hidden h-[18px] w-[18px] object-contain dark:block"}),l]},l))})}export{w as A,x as a};
 
1
+ import{j as e}from"./index-CrYWgAoM.js";const s="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='256'%20height='257'%20preserveAspectRatio='xMidYMid'%20viewBox='0%200%20256%20257'%3e%3cpath%20fill='%23D97757'%20d='m50.228%20170.321%2050.357-28.257.843-2.463-.843-1.361h-2.462l-8.426-.518-28.775-.778-24.952-1.037-24.175-1.296-6.092-1.297L0%20125.796l.583-3.759%205.12-3.434%207.324.648%2016.202%201.101%2024.304%201.685%2017.629%201.037%2026.118%202.722h4.148l.583-1.685-1.426-1.037-1.101-1.037-25.147-17.045-27.22-18.017-14.258-10.37-7.713-5.25-3.888-4.925-1.685-10.758%207-7.713%209.397.649%202.398.648%209.527%207.323%2020.35%2015.75L94.817%2091.9l3.889%203.24%201.555-1.102.195-.777-1.75-2.917-14.453-26.118-15.425-26.572-6.87-11.018-1.814-6.61c-.648-2.723-1.102-4.991-1.102-7.778l7.972-10.823L71.42%200%2082.05%201.426l4.472%203.888%206.61%2015.101%2010.694%2023.786%2016.591%2032.34%204.861%209.592%202.592%208.879.973%202.722h1.685v-1.556l1.36-18.211%202.528-22.36%202.463-28.776.843-8.1%204.018-9.722%207.971-5.25%206.222%202.981%205.12%207.324-.713%204.73-3.046%2019.768-5.962%2030.98-3.889%2020.739h2.268l2.593-2.593%2010.499-13.934%2017.628-22.036%207.778-8.749%209.073-9.657%205.833-4.601h11.018l8.1%2012.055-3.628%2012.443-11.342%2014.388-9.398%2012.184-13.48%2018.147-8.426%2014.518.778%201.166%202.01-.194%2030.46-6.481%2016.462-2.982%2019.637-3.37%208.88%204.148.971%204.213-3.5%208.62-20.998%205.184-24.628%204.926-36.682%208.685-.454.324.519.648%2016.526%201.555%207.065.389h17.304l32.21%202.398%208.426%205.574%205.055%206.805-.843%205.184-12.962%206.611-17.498-4.148-40.83-9.721-14-3.5h-1.944v1.167l11.666%2011.406%2021.387%2019.314%2026.767%2024.887%201.36%206.157-3.434%204.86-3.63-.518-23.526-17.693-9.073-7.972-20.545-17.304h-1.36v1.814l4.73%206.935%2025.017%2037.59%201.296%2011.536-1.814%203.76-6.481%202.268-7.13-1.297-14.647-20.544-15.1-23.138-12.185-20.739-1.49.843-7.194%2077.448-3.37%203.953-7.778%202.981-6.48-4.925-3.436-7.972%203.435-15.749%204.148-20.544%203.37-16.333%203.046-20.285%201.815-6.74-.13-.454-1.49.194-15.295%2020.999-23.267%2031.433-18.406%2019.702-4.407%201.75-7.648-3.954.713-7.064%204.277-6.286%2025.47-32.405%2015.36-20.092%209.917-11.6-.065-1.686h-.583L44.07%20198.125l-12.055%201.555-5.185-4.86.648-7.972%202.463-2.593%2020.35-13.999-.064.065Z'/%3e%3c/svg%3e",a="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='256'%20height='257'%20preserveAspectRatio='xMidYMid'%20viewBox='0%200%20256%20257'%3e%3cpath%20fill='%23D97757'%20d='m50.228%20170.321%2050.357-28.257.843-2.463-.843-1.361h-2.462l-8.426-.518-28.775-.778-24.952-1.037-24.175-1.296-6.092-1.297L0%20125.796l.583-3.759%205.12-3.434%207.324.648%2016.202%201.101%2024.304%201.685%2017.629%201.037%2026.118%202.722h4.148l.583-1.685-1.426-1.037-1.101-1.037-25.147-17.045-27.22-18.017-14.258-10.37-7.713-5.25-3.888-4.925-1.685-10.758%207-7.713%209.397.649%202.398.648%209.527%207.323%2020.35%2015.75L94.817%2091.9l3.889%203.24%201.555-1.102.195-.777-1.75-2.917-14.453-26.118-15.425-26.572-6.87-11.018-1.814-6.61c-.648-2.723-1.102-4.991-1.102-7.778l7.972-10.823L71.42%200%2082.05%201.426l4.472%203.888%206.61%2015.101%2010.694%2023.786%2016.591%2032.34%204.861%209.592%202.592%208.879.973%202.722h1.685v-1.556l1.36-18.211%202.528-22.36%202.463-28.776.843-8.1%204.018-9.722%207.971-5.25%206.222%202.981%205.12%207.324-.713%204.73-3.046%2019.768-5.962%2030.98-3.889%2020.739h2.268l2.593-2.593%2010.499-13.934%2017.628-22.036%207.778-8.749%209.073-9.657%205.833-4.601h11.018l8.1%2012.055-3.628%2012.443-11.342%2014.388-9.398%2012.184-13.48%2018.147-8.426%2014.518.778%201.166%202.01-.194%2030.46-6.481%2016.462-2.982%2019.637-3.37%208.88%204.148.971%204.213-3.5%208.62-20.998%205.184-24.628%204.926-36.682%208.685-.454.324.519.648%2016.526%201.555%207.065.389h17.304l32.21%202.398%208.426%205.574%205.055%206.805-.843%205.184-12.962%206.611-17.498-4.148-40.83-9.721-14-3.5h-1.944v1.167l11.666%2011.406%2021.387%2019.314%2026.767%2024.887%201.36%206.157-3.434%204.86-3.63-.518-23.526-17.693-9.073-7.972-20.545-17.304h-1.36v1.814l4.73%206.935%2025.017%2037.59%201.296%2011.536-1.814%203.76-6.481%202.268-7.13-1.297-14.647-20.544-15.1-23.138-12.185-20.739-1.49.843-7.194%2077.448-3.37%203.953-7.778%202.981-6.48-4.925-3.436-7.972%203.435-15.749%204.148-20.544%203.37-16.333%203.046-20.285%201.815-6.74-.13-.454-1.49.194-15.295%2020.999-23.267%2031.433-18.406%2019.702-4.407%201.75-7.648-3.954.713-7.064%204.277-6.286%2025.47-32.405%2015.36-20.092%209.917-11.6-.065-1.686h-.583L44.07%20198.125l-12.055%201.555-5.185-4.86.648-7.972%202.463-2.593%2020.35-13.999-.064.065Z'/%3e%3c/svg%3e",h="data:image/svg+xml,%3csvg%20fill='%23111'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eCodex%3c/title%3e%3cpath%20clip-rule='evenodd'%20d='M8.086.457a6.105%206.105%200%20013.046-.415c1.333.153%202.521.72%203.564%201.7a.117.117%200%2000.107.029c1.408-.346%202.762-.224%204.061.366l.063.03.154.076c1.357.703%202.33%201.77%202.918%203.198.278.679.418%201.388.421%202.126a5.655%205.655%200%2001-.18%201.631.167.167%200%2000.04.155%205.982%205.982%200%20011.578%202.891c.385%201.901-.01%203.615-1.183%205.14l-.182.22a6.063%206.063%200%2001-2.934%201.851.162.162%200%2000-.108.102c-.255.736-.511%201.364-.987%201.992-1.199%201.582-2.962%202.462-4.948%202.451-1.583-.008-2.986-.587-4.21-1.736a.145.145%200%2000-.14-.032c-.518.167-1.04.191-1.604.185a5.924%205.924%200%2001-2.595-.622%206.058%206.058%200%2001-2.146-1.781c-.203-.269-.404-.522-.551-.821a7.74%207.74%200%2001-.495-1.283%206.11%206.11%200%2001-.017-3.064.166.166%200%2000.008-.074.115.115%200%2000-.037-.064%205.958%205.958%200%2001-1.38-2.202%205.196%205.196%200%2001-.333-1.589%206.915%206.915%200%2001.188-2.132c.45-1.484%201.309-2.648%202.577-3.493.282-.188.55-.334.802-.438.286-.12.573-.22.861-.304a.129.129%200%2000.087-.087A6.016%206.016%200%20015.635%202.31C6.315%201.464%207.132.846%208.086.457zm-.804%207.85a.848.848%200%2000-1.473.842l1.694%202.965-1.688%202.848a.849.849%200%20001.46.864l1.94-3.272a.849.849%200%2000.007-.854l-1.94-3.393zm5.446%206.24a.849.849%200%20000%201.695h4.848a.849.849%200%20000-1.696h-4.848z'%3e%3c/path%3e%3c/svg%3e",o="data:image/svg+xml,%3csvg%20fill='%23fff'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eCodex%3c/title%3e%3cpath%20clip-rule='evenodd'%20d='M8.086.457a6.105%206.105%200%20013.046-.415c1.333.153%202.521.72%203.564%201.7a.117.117%200%2000.107.029c1.408-.346%202.762-.224%204.061.366l.063.03.154.076c1.357.703%202.33%201.77%202.918%203.198.278.679.418%201.388.421%202.126a5.655%205.655%200%2001-.18%201.631.167.167%200%2000.04.155%205.982%205.982%200%20011.578%202.891c.385%201.901-.01%203.615-1.183%205.14l-.182.22a6.063%206.063%200%2001-2.934%201.851.162.162%200%2000-.108.102c-.255.736-.511%201.364-.987%201.992-1.199%201.582-2.962%202.462-4.948%202.451-1.583-.008-2.986-.587-4.21-1.736a.145.145%200%2000-.14-.032c-.518.167-1.04.191-1.604.185a5.924%205.924%200%2001-2.595-.622%206.058%206.058%200%2001-2.146-1.781c-.203-.269-.404-.522-.551-.821a7.74%207.74%200%2001-.495-1.283%206.11%206.11%200%2001-.017-3.064.166.166%200%2000.008-.074.115.115%200%2000-.037-.064%205.958%205.958%200%2001-1.38-2.202%205.196%205.196%200%2001-.333-1.589%206.915%206.915%200%2001.188-2.132c.45-1.484%201.309-2.648%202.577-3.493.282-.188.55-.334.802-.438.286-.12.573-.22.861-.304a.129.129%200%2000.087-.087A6.016%206.016%200%20015.635%202.31C6.315%201.464%207.132.846%208.086.457zm-.804%207.85a.848.848%200%2000-1.473.842l1.694%202.965-1.688%202.848a.849.849%200%20001.46.864l1.94-3.272a.849.849%200%2000.007-.854l-1.94-3.393zm5.446%206.24a.849.849%200%20000%201.695h4.848a.849.849%200%20000-1.696h-4.848z'%3e%3c/path%3e%3c/svg%3e",r="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='cursor_light__Ebene_1'%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20viewBox='0%200%20466.73%20532.09'%3e%3c!--Generator:%20Adobe%20Illustrator%2029.6.1,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%202.1.1%20Build%209)--%3e%3cdefs%3e%3cstyle%3e.cursor_light__st0{fill:%2326251e}%3c/style%3e%3c/defs%3e%3cpath%20class='cursor_light__st0'%20d='M457.43,125.94L244.42,2.96c-6.84-3.95-15.28-3.95-22.12,0L9.3,125.94c-5.75,3.32-9.3,9.46-9.3,16.11v247.99c0,6.65,3.55,12.79,9.3,16.11l213.01,122.98c6.84,3.95,15.28,3.95,22.12,0l213.01-122.98c5.75-3.32,9.3-9.46,9.3-16.11v-247.99c0-6.65-3.55-12.79-9.3-16.11h-.01ZM444.05,151.99l-205.63,356.16c-1.39,2.4-5.06,1.42-5.06-1.36v-233.21c0-4.66-2.49-8.97-6.53-11.31L24.87,145.67c-2.4-1.39-1.42-5.06,1.36-5.06h411.26c5.84,0,9.49,6.33,6.57,11.39h-.01Z'/%3e%3c/svg%3e",d="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='cursor_dark__Ebene_1'%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20viewBox='0%200%20466.73%20532.09'%3e%3c!--Generator:%20Adobe%20Illustrator%2029.6.1,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%202.1.1%20Build%209)--%3e%3cdefs%3e%3cstyle%3e.cursor_dark__st0{fill:%23edecec}%3c/style%3e%3c/defs%3e%3cpath%20class='cursor_dark__st0'%20d='M457.43,125.94L244.42,2.96c-6.84-3.95-15.28-3.95-22.12,0L9.3,125.94c-5.75,3.32-9.3,9.46-9.3,16.11v247.99c0,6.65,3.55,12.79,9.3,16.11l213.01,122.98c6.84,3.95,15.28,3.95,22.12,0l213.01-122.98c5.75-3.32,9.3-9.46,9.3-16.11v-247.99c0-6.65-3.55-12.79-9.3-16.11h-.01ZM444.05,151.99l-205.63,356.16c-1.39,2.4-5.06,1.42-5.06-1.36v-233.21c0-4.66-2.49-8.97-6.53-11.31L24.87,145.67c-2.4-1.39-1.42-5.06,1.36-5.06h411.26c5.84,0,9.49,6.33,6.57,11.39h-.01Z'/%3e%3c/svg%3e",n="data:image/svg+xml,%3csvg%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='512'%20height='512'%20fill='%23FDFCFC'/%3e%3cpath%20d='M320%20224V352H192V224H320Z'%20fill='%23E6E5E6'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M384%20416H128V96H384V416ZM320%20160H192V352H320V160Z'%20fill='%2317181C'/%3e%3c/svg%3e",g="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='512'%20height='512'%3e%3csvg%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='512'%20height='512'%20fill='%23131010'%3e%3c/rect%3e%3cpath%20d='M320%20224V352H192V224H320Z'%20fill='%235A5858'%3e%3c/path%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M384%20416H128V96H384V416ZM320%20160H192V352H320V160Z'%20fill='white'%3e%3c/path%3e%3c/svg%3e%3cstyle%3e@media%20(prefers-color-scheme:%20light)%20{%20:root%20{%20filter:%20none;%20}%20}%20@media%20(prefers-color-scheme:%20dark)%20{%20:root%20{%20filter:%20none;%20}%20}%20%3c/style%3e%3c/svg%3e",i=[{name:"Claude",light:s,dark:a},{name:"Codex",light:h,dark:o},{name:"Cursor",light:r,dark:d},{name:"OpenCode",light:n,dark:g}];function w(){return e.jsx("span",{className:"inline-flex shrink-0 items-center gap-1.5","aria-hidden":"true",children:i.map(({name:l,light:t,dark:c})=>e.jsxs("span",{title:l,className:"inline-flex h-[18px] w-[18px]",children:[e.jsx("img",{src:t,alt:"",width:18,height:18,className:"h-full w-full object-contain dark:hidden"}),e.jsx("img",{src:c,alt:"",width:18,height:18,className:"hidden h-full w-full object-contain dark:block"})]},l))})}function x(){return e.jsx("ul",{className:"flex flex-wrap gap-2","aria-label":"Supported coding agents",children:i.map(({name:l,light:t,dark:c})=>e.jsxs("li",{className:"inline-flex items-center gap-2 rounded-full border px-3 py-1 text-sm",children:[e.jsx("img",{src:t,alt:"",width:18,height:18,className:"h-[18px] w-[18px] object-contain dark:hidden"}),e.jsx("img",{src:c,alt:"",width:18,height:18,className:"hidden h-[18px] w-[18px] object-contain dark:block"}),l]},l))})}export{w as A,x as a};
assets/{AiDeadlinesView-DAQIk91K.js → AiDeadlinesView-BKnW1yMt.js} RENAMED
@@ -1,3 +1,3 @@
1
- import{i as y,j as t,b as A,v as L}from"./index-DL_JM2Ot.js";import{S as B}from"./switch-DaSJHMgf.js";import{S as W}from"./skeleton-CKwY1CoC.js";import{A as U,a as M}from"./alert-BAtahhuM.js";import{s as _}from"./safeExternalHref-CkBrsh84.js";import{D as O,a as V,c as P,b as G,d as H}from"./dialog-DR9by6nD.js";import{s as Q,n as S,f as $,p as Y,u as N,l as k,a as z,c as b,D as K,i as I,b as R,d as X}from"./deadlines-BG5SWwEG.js";import{u as q}from"./useDocumentTitle-CK4VxG11.js";import{I as J}from"./pageTitles-CNuk5c2y.js";import"./index-Dr5kpJ2J.js";const w={fontFamily:"var(--mono)",fontSize:10,letterSpacing:"0.12em",textTransform:"uppercase",color:"var(--ink-faint)"},Z=(e,s)=>{const l=Math.ceil((e-s)/K);return l<=0?"passed":`${l} ${l===1?"day":"days"}`},F=(e,s)=>{const l=$(e.start_date,e.end_date),r=e.venue||[e.city,e.country].filter(Boolean).join(", ");return[`${s.label||s.type||"Deadline"} for ${e.name}`,l?`Dates: ${l}`:null,r?`Location: ${r}`:null,e.url?`Website: ${e.url}`:null].filter(Boolean).join(`
2
  `)},C=e=>e.toISOString().replace(/[-:]/g,"").replace(/\.\d{3}/,""),ee=(e,s)=>{const l=new Date(s.deadline_at),r=new Date(l.getTime()+60*60*1e3),o=`${e.short_name||e.name} ${s.label||s.type||"deadline"}`,h=e.venue||[e.city,e.country].filter(Boolean).join(", "),a=`https://calendar.google.com/calendar/render?action=TEMPLATE&text=${encodeURIComponent(o)}&dates=${C(l)}/${C(r)}&details=${encodeURIComponent(F(e,s))}&location=${encodeURIComponent(h)}`,p=_(a);p&&window.open(p,"_blank","noopener,noreferrer")},te=(e,s)=>{const l=new Date(s.deadline_at),r=new Date(l.getTime()+60*60*1e3),o=`${e.short_name||e.name} ${s.label||s.type||"deadline"}`,h=e.venue||[e.city,e.country].filter(Boolean).join(", "),a=["BEGIN:VCALENDAR","VERSION:2.0","BEGIN:VEVENT",e.url?`URL:${e.url}`:null,`DTSTART:${C(l)}`,`DTEND:${C(r)}`,`SUMMARY:${o}`,`DESCRIPTION:${F(e,s).replace(/\n/g,"\\n")}`,h?`LOCATION:${h}`:null,"END:VEVENT","END:VCALENDAR"].filter(Boolean).join(`
3
  `),p=new Blob([a],{type:"text/calendar;charset=utf-8"}),d=document.createElement("a");d.href=URL.createObjectURL(p),d.download=`${(e.short_name||e.name).toLowerCase().replace(/\s+/g,"-")}-deadline.ics`,document.body.appendChild(d),d.click(),document.body.removeChild(d),URL.revokeObjectURL(d.href)},ae=({conf:e,open:s,onOpenChange:l})=>{const[r,o]=y.useState(()=>Date.now());y.useEffect(()=>{if(!s)return;o(Date.now());const i=setInterval(()=>o(Date.now()),1e3);return()=>clearInterval(i)},[s]);const h=y.useMemo(()=>e?Q(e):[],[e]),a=y.useMemo(()=>e?S(e,r):null,[e,r]),p=e?$(e.start_date,e.end_date):null,d=e?e.venue||[e.city,e.country].filter(Boolean).join(", ")||e.location:null,m=a?new Date(a.deadline_at).getTime():null;return t.jsx(O,{open:s,onOpenChange:l,children:t.jsx(V,{className:"max-w-xl",style:{background:"var(--bg-elevated)",maxHeight:"85vh",overflowY:"auto"},children:e&&t.jsxs(t.Fragment,{children:[t.jsxs(P,{children:[t.jsx(G,{asChild:!0,children:t.jsx("h2",{style:{fontFamily:"var(--serif)",fontSize:26,fontWeight:500,letterSpacing:"-0.01em",margin:0},children:e.short_name?`${e.short_name} ${e.year??""}`.trim():e.name})}),e.short_name&&e.name||e.description?t.jsx(H,{asChild:!0,children:t.jsx("span",{style:{fontFamily:"var(--serif)",fontSize:14,color:"var(--ink-soft)"},children:e.short_name?e.name:e.description})}):null]}),t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:20,marginTop:4},children:[t.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:24},children:[p&&t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:4},children:[t.jsx("span",{style:w,children:"Dates"}),t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:13,color:"var(--ink-soft)"},children:p})]}),d&&t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:4},children:[t.jsx("span",{style:w,children:"Venue"}),t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:13,color:"var(--ink-soft)"},children:d})]})]}),m!=null&&t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:4,padding:"12px 14px",borderRadius:8,background:"var(--bg-subtle)",border:"1px solid var(--hairline)"},children:[t.jsx("span",{style:w,children:"Next deadline in"}),t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:22,fontWeight:600,color:N(m,r)},children:Y(m,r)})]}),t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:8},children:[t.jsx("span",{style:w,children:"Important deadlines"}),h.length===0?t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:13,color:"var(--ink-faint)"},children:"Deadlines not announced yet"}):h.map((i,c)=>{const f=new Date(i.deadline_at).getTime(),n=a!=null&&i.deadline_at===a.deadline_at&&i.type===a.type,u=f<=r;return t.jsxs("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"space-between",gap:12,padding:"8px 12px",borderRadius:6,background:n?"var(--accent-soft)":"transparent",border:n?"1px solid var(--hairline-strong)":"1px solid var(--hairline)",opacity:u&&!n?.55:1},children:[t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:2},children:[t.jsxs("span",{style:{fontFamily:"var(--mono)",fontSize:13,color:"var(--ink)",fontWeight:n?600:400},children:[i.label||k(i.type||"deadline"),n&&t.jsx("span",{style:{...w,marginLeft:8},children:"Next"})]}),t.jsxs("span",{style:{fontFamily:"var(--mono)",fontSize:12,color:"var(--ink-faint)"},children:[z(i.deadline_at),i.timezone?` · ${i.timezone}`:""]})]}),t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:12,fontWeight:600,whiteSpace:"nowrap",color:N(u?null:f,r)},children:Z(f,r)})]},`${i.type??"deadline"}-${c}`)})]}),b(e).length>0&&t.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:6},children:b(e).map(i=>t.jsx("span",{className:"tag-chip",style:{background:"var(--bg-subtle)",color:"var(--ink-soft)"},children:k(i)},i))}),t.jsxs("div",{style:{display:"flex",flexWrap:"wrap",alignItems:"center",gap:16,paddingTop:12,borderTop:"1px solid var(--hairline)"},children:[e.url&&t.jsx("a",{href:_(e.url)??void 0,target:"_blank",rel:"noopener noreferrer",style:{fontFamily:"var(--mono)",fontSize:12,color:"var(--accent-text)"},children:"Visit website ↗"}),a&&t.jsxs("div",{style:{display:"flex",gap:12,marginLeft:"auto"},children:[t.jsx("button",{type:"button",className:"tag-chip",onClick:()=>ee(e,a),style:{background:"var(--bg-subtle)",color:"var(--ink-soft)"},children:"+ Google Calendar"}),t.jsx("button",{type:"button",className:"tag-chip",onClick:()=>te(e,a),style:{background:"var(--bg-subtle)",color:"var(--ink-soft)"},children:"+ Apple / .ics"})]})]})]})]})})})},E=({id:e,label:s,checked:l,onChange:r})=>t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,fontFamily:"var(--mono)",fontSize:12,color:"var(--ink-soft)"},children:[t.jsx(B,{id:e,checked:l,onCheckedChange:r}),t.jsx("label",{htmlFor:e,style:{cursor:"pointer"},children:s})]}),ne=({conf:e,now:s,selectedDomains:l,onToggleDomain:r,onOpen:o})=>{const h=S(e,s),a=h??R(e),p=a?new Date(a.deadline_at).getTime():null,d=N(h?p:null,s),m=$(e.start_date,e.end_date),i=[e.city??null,e.country??null].filter(Boolean).join(", ");return t.jsxs("div",{role:"button",tabIndex:0,onClick:()=>o(e),onKeyDown:c=>{(c.key==="Enter"||c.key===" ")&&(c.preventDefault(),o(e))},style:{border:"1px solid var(--hairline)",borderRadius:8,padding:20,background:"var(--bg-elevated)",display:"flex",flexDirection:"column",gap:12,cursor:"pointer"},children:[t.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"baseline",gap:12},children:[t.jsx("h3",{style:{fontFamily:"var(--serif)",fontSize:20,fontWeight:500,letterSpacing:"-0.01em",margin:0},children:e.short_name?`${e.short_name} ${e.year??""}`.trim():e.name}),e.url&&t.jsx("a",{href:_(e.url)??void 0,target:"_blank",rel:"noopener noreferrer",onClick:c=>c.stopPropagation(),style:{fontFamily:"var(--mono)",fontSize:11,color:"var(--accent-text)",whiteSpace:"nowrap"},children:"website ↗"})]}),t.jsxs("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"space-between",gap:12,paddingBottom:12,borderBottom:"1px solid var(--hairline)"},children:[t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:2},children:[t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:11,color:"var(--ink-faint)"},children:(a==null?void 0:a.label)||(a==null?void 0:a.type)||"Deadlines"}),t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:12,color:"var(--ink-soft)"},children:a?`${z(a.deadline_at)}${a.timezone?` · ${a.timezone}`:""}`:"Not announced yet"})]}),t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:14,fontWeight:600,color:d,whiteSpace:"nowrap"},children:p!=null?X(p,s):"TBA"})]}),t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:4,fontFamily:"var(--mono)",fontSize:11,color:"var(--ink-faint)"},children:[m&&t.jsx("span",{children:m}),i&&t.jsx("span",{children:i})]}),b(e).length>0&&t.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:6},children:b(e).map(c=>{const f=l.has(c);return t.jsx("button",{className:"tag-chip",onClick:n=>{n.stopPropagation(),r(c)},style:{background:f?"var(--ink)":"var(--bg-subtle)",color:f?"var(--bg)":"var(--ink-soft)"},children:k(c)},c)})})]})},he=()=>{q(J.aiDeadlines);const[e,s]=y.useState(!0),[l,r]=y.useState(!1),[o,h]=y.useState(new Set),[a,p]=y.useState(null),d=y.useMemo(()=>Date.now(),[]),m=A(L.conferenceDeadlines()),i=n=>{h(u=>{const x=new Set(u);return x.has(n)?x.delete(n):x.add(n),x})},c=y.useMemo(()=>{var u;const n=new Map;return(u=m.data)==null||u.results.forEach(x=>{b(x).forEach(j=>n.set(j,(n.get(j)??0)+1))}),Array.from(n.entries()).sort((x,j)=>j[1]-x[1]).map(([x])=>x)},[m.data]),f=y.useMemo(()=>{var j;const u=(((j=m.data)==null?void 0:j.results)??[]).filter(g=>!(e&&g.tier!=="a"||o.size>0&&!b(g).some(v=>o.has(v))||!l&&!I(g)&&!S(g,d))),x=g=>{const D=S(g,d);if(D)return{group:0,time:new Date(D.deadline_at).getTime()};if(I(g))return{group:1,time:g.start_date?new Date(g.start_date).getTime():0};const v=R(g);return{group:2,time:-(v?new Date(v.deadline_at).getTime():0)}};return[...u].sort((g,D)=>{const v=x(g),T=x(D);return v.group!==T.group?v.group-T.group:v.time-T.time})},[m.data,e,l,o,d]);return m.error?t.jsx("div",{className:"page",children:t.jsx(U,{variant:"destructive",children:t.jsx(M,{children:"Failed to load conference deadlines. Please try again."})})}):t.jsxs("div",{className:"page",children:[t.jsx("div",{className:"feed-header",children:t.jsxs("div",{children:[t.jsxs("h1",{className:"feed-title",children:["AI Conference ",t.jsx("em",{children:"Deadlines"})]}),t.jsx("div",{className:"feed-subtitle",children:"Upcoming submission deadlines for major AI conferences, counting down."})]})}),t.jsxs("div",{style:{display:"flex",flexWrap:"wrap",alignItems:"center",gap:20,padding:"16px 0",borderBottom:"1px solid var(--hairline)",marginBottom:24},children:[t.jsx(E,{id:"top-tier-only",label:"Top tier only",checked:e,onChange:s}),t.jsx(E,{id:"show-past",label:"Show past conferences",checked:l,onChange:r})]}),c.length>0&&t.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:6,marginBottom:24},children:[c.map(n=>{const u=o.has(n);return t.jsx("button",{className:"tag-chip",onClick:()=>i(n),style:{background:u?"var(--ink)":"var(--bg-subtle)",color:u?"var(--bg)":"var(--ink-soft)"},children:k(n)},n)}),o.size>0&&t.jsx("button",{className:"tag-chip",onClick:()=>h(new Set),style:{background:"transparent",color:"var(--ink-faint)"},children:"Clear ✕"})]}),t.jsx("div",{className:"sort-bar",children:t.jsx("div",{className:"results-count",children:m.isLoading?"…":`${f.length} conferences`})}),m.isLoading?t.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(320px, 1fr))",gap:16},children:Array.from({length:6}).map((n,u)=>t.jsx(W,{className:"h-44"},u))}):f.length===0?t.jsxs("div",{className:"no-results",children:["No conferences match these filters",l?".":" — try enabling “Show past conferences”."]}):t.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(320px, 1fr))",gap:16},children:f.map(n=>t.jsx(ne,{conf:n,now:d,selectedDomains:o,onToggleDomain:i,onOpen:p},n.id))}),t.jsx(ae,{conf:a,open:a!==null,onOpenChange:n=>{n||p(null)}})]})};export{he as default};
 
1
+ import{i as y,j as t,b as A,v as L}from"./index-CrYWgAoM.js";import{S as B}from"./switch-CcJYwO74.js";import{S as W}from"./skeleton-CR7iZvat.js";import{A as U,a as M}from"./alert-BWfaZ9GT.js";import{s as _}from"./safeExternalHref-CkBrsh84.js";import{D as O,a as V,c as P,b as G,d as H}from"./dialog-DmgW-U8s.js";import{s as Q,n as S,f as $,p as Y,u as N,l as k,a as z,c as b,D as K,i as I,b as R,d as X}from"./deadlines-BG5SWwEG.js";import{u as q}from"./useDocumentTitle-BLJX3S0V.js";import{I as J}from"./pageTitles-DI-gHdpy.js";import"./index-BrV3rrlz.js";const w={fontFamily:"var(--mono)",fontSize:10,letterSpacing:"0.12em",textTransform:"uppercase",color:"var(--ink-faint)"},Z=(e,s)=>{const l=Math.ceil((e-s)/K);return l<=0?"passed":`${l} ${l===1?"day":"days"}`},F=(e,s)=>{const l=$(e.start_date,e.end_date),r=e.venue||[e.city,e.country].filter(Boolean).join(", ");return[`${s.label||s.type||"Deadline"} for ${e.name}`,l?`Dates: ${l}`:null,r?`Location: ${r}`:null,e.url?`Website: ${e.url}`:null].filter(Boolean).join(`
2
  `)},C=e=>e.toISOString().replace(/[-:]/g,"").replace(/\.\d{3}/,""),ee=(e,s)=>{const l=new Date(s.deadline_at),r=new Date(l.getTime()+60*60*1e3),o=`${e.short_name||e.name} ${s.label||s.type||"deadline"}`,h=e.venue||[e.city,e.country].filter(Boolean).join(", "),a=`https://calendar.google.com/calendar/render?action=TEMPLATE&text=${encodeURIComponent(o)}&dates=${C(l)}/${C(r)}&details=${encodeURIComponent(F(e,s))}&location=${encodeURIComponent(h)}`,p=_(a);p&&window.open(p,"_blank","noopener,noreferrer")},te=(e,s)=>{const l=new Date(s.deadline_at),r=new Date(l.getTime()+60*60*1e3),o=`${e.short_name||e.name} ${s.label||s.type||"deadline"}`,h=e.venue||[e.city,e.country].filter(Boolean).join(", "),a=["BEGIN:VCALENDAR","VERSION:2.0","BEGIN:VEVENT",e.url?`URL:${e.url}`:null,`DTSTART:${C(l)}`,`DTEND:${C(r)}`,`SUMMARY:${o}`,`DESCRIPTION:${F(e,s).replace(/\n/g,"\\n")}`,h?`LOCATION:${h}`:null,"END:VEVENT","END:VCALENDAR"].filter(Boolean).join(`
3
  `),p=new Blob([a],{type:"text/calendar;charset=utf-8"}),d=document.createElement("a");d.href=URL.createObjectURL(p),d.download=`${(e.short_name||e.name).toLowerCase().replace(/\s+/g,"-")}-deadline.ics`,document.body.appendChild(d),d.click(),document.body.removeChild(d),URL.revokeObjectURL(d.href)},ae=({conf:e,open:s,onOpenChange:l})=>{const[r,o]=y.useState(()=>Date.now());y.useEffect(()=>{if(!s)return;o(Date.now());const i=setInterval(()=>o(Date.now()),1e3);return()=>clearInterval(i)},[s]);const h=y.useMemo(()=>e?Q(e):[],[e]),a=y.useMemo(()=>e?S(e,r):null,[e,r]),p=e?$(e.start_date,e.end_date):null,d=e?e.venue||[e.city,e.country].filter(Boolean).join(", ")||e.location:null,m=a?new Date(a.deadline_at).getTime():null;return t.jsx(O,{open:s,onOpenChange:l,children:t.jsx(V,{className:"max-w-xl",style:{background:"var(--bg-elevated)",maxHeight:"85vh",overflowY:"auto"},children:e&&t.jsxs(t.Fragment,{children:[t.jsxs(P,{children:[t.jsx(G,{asChild:!0,children:t.jsx("h2",{style:{fontFamily:"var(--serif)",fontSize:26,fontWeight:500,letterSpacing:"-0.01em",margin:0},children:e.short_name?`${e.short_name} ${e.year??""}`.trim():e.name})}),e.short_name&&e.name||e.description?t.jsx(H,{asChild:!0,children:t.jsx("span",{style:{fontFamily:"var(--serif)",fontSize:14,color:"var(--ink-soft)"},children:e.short_name?e.name:e.description})}):null]}),t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:20,marginTop:4},children:[t.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:24},children:[p&&t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:4},children:[t.jsx("span",{style:w,children:"Dates"}),t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:13,color:"var(--ink-soft)"},children:p})]}),d&&t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:4},children:[t.jsx("span",{style:w,children:"Venue"}),t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:13,color:"var(--ink-soft)"},children:d})]})]}),m!=null&&t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:4,padding:"12px 14px",borderRadius:8,background:"var(--bg-subtle)",border:"1px solid var(--hairline)"},children:[t.jsx("span",{style:w,children:"Next deadline in"}),t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:22,fontWeight:600,color:N(m,r)},children:Y(m,r)})]}),t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:8},children:[t.jsx("span",{style:w,children:"Important deadlines"}),h.length===0?t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:13,color:"var(--ink-faint)"},children:"Deadlines not announced yet"}):h.map((i,c)=>{const f=new Date(i.deadline_at).getTime(),n=a!=null&&i.deadline_at===a.deadline_at&&i.type===a.type,u=f<=r;return t.jsxs("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"space-between",gap:12,padding:"8px 12px",borderRadius:6,background:n?"var(--accent-soft)":"transparent",border:n?"1px solid var(--hairline-strong)":"1px solid var(--hairline)",opacity:u&&!n?.55:1},children:[t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:2},children:[t.jsxs("span",{style:{fontFamily:"var(--mono)",fontSize:13,color:"var(--ink)",fontWeight:n?600:400},children:[i.label||k(i.type||"deadline"),n&&t.jsx("span",{style:{...w,marginLeft:8},children:"Next"})]}),t.jsxs("span",{style:{fontFamily:"var(--mono)",fontSize:12,color:"var(--ink-faint)"},children:[z(i.deadline_at),i.timezone?` · ${i.timezone}`:""]})]}),t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:12,fontWeight:600,whiteSpace:"nowrap",color:N(u?null:f,r)},children:Z(f,r)})]},`${i.type??"deadline"}-${c}`)})]}),b(e).length>0&&t.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:6},children:b(e).map(i=>t.jsx("span",{className:"tag-chip",style:{background:"var(--bg-subtle)",color:"var(--ink-soft)"},children:k(i)},i))}),t.jsxs("div",{style:{display:"flex",flexWrap:"wrap",alignItems:"center",gap:16,paddingTop:12,borderTop:"1px solid var(--hairline)"},children:[e.url&&t.jsx("a",{href:_(e.url)??void 0,target:"_blank",rel:"noopener noreferrer",style:{fontFamily:"var(--mono)",fontSize:12,color:"var(--accent-text)"},children:"Visit website ↗"}),a&&t.jsxs("div",{style:{display:"flex",gap:12,marginLeft:"auto"},children:[t.jsx("button",{type:"button",className:"tag-chip",onClick:()=>ee(e,a),style:{background:"var(--bg-subtle)",color:"var(--ink-soft)"},children:"+ Google Calendar"}),t.jsx("button",{type:"button",className:"tag-chip",onClick:()=>te(e,a),style:{background:"var(--bg-subtle)",color:"var(--ink-soft)"},children:"+ Apple / .ics"})]})]})]})]})})})},E=({id:e,label:s,checked:l,onChange:r})=>t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,fontFamily:"var(--mono)",fontSize:12,color:"var(--ink-soft)"},children:[t.jsx(B,{id:e,checked:l,onCheckedChange:r}),t.jsx("label",{htmlFor:e,style:{cursor:"pointer"},children:s})]}),ne=({conf:e,now:s,selectedDomains:l,onToggleDomain:r,onOpen:o})=>{const h=S(e,s),a=h??R(e),p=a?new Date(a.deadline_at).getTime():null,d=N(h?p:null,s),m=$(e.start_date,e.end_date),i=[e.city??null,e.country??null].filter(Boolean).join(", ");return t.jsxs("div",{role:"button",tabIndex:0,onClick:()=>o(e),onKeyDown:c=>{(c.key==="Enter"||c.key===" ")&&(c.preventDefault(),o(e))},style:{border:"1px solid var(--hairline)",borderRadius:8,padding:20,background:"var(--bg-elevated)",display:"flex",flexDirection:"column",gap:12,cursor:"pointer"},children:[t.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"baseline",gap:12},children:[t.jsx("h3",{style:{fontFamily:"var(--serif)",fontSize:20,fontWeight:500,letterSpacing:"-0.01em",margin:0},children:e.short_name?`${e.short_name} ${e.year??""}`.trim():e.name}),e.url&&t.jsx("a",{href:_(e.url)??void 0,target:"_blank",rel:"noopener noreferrer",onClick:c=>c.stopPropagation(),style:{fontFamily:"var(--mono)",fontSize:11,color:"var(--accent-text)",whiteSpace:"nowrap"},children:"website ↗"})]}),t.jsxs("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"space-between",gap:12,paddingBottom:12,borderBottom:"1px solid var(--hairline)"},children:[t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:2},children:[t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:11,color:"var(--ink-faint)"},children:(a==null?void 0:a.label)||(a==null?void 0:a.type)||"Deadlines"}),t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:12,color:"var(--ink-soft)"},children:a?`${z(a.deadline_at)}${a.timezone?` · ${a.timezone}`:""}`:"Not announced yet"})]}),t.jsx("span",{style:{fontFamily:"var(--mono)",fontSize:14,fontWeight:600,color:d,whiteSpace:"nowrap"},children:p!=null?X(p,s):"TBA"})]}),t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:4,fontFamily:"var(--mono)",fontSize:11,color:"var(--ink-faint)"},children:[m&&t.jsx("span",{children:m}),i&&t.jsx("span",{children:i})]}),b(e).length>0&&t.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:6},children:b(e).map(c=>{const f=l.has(c);return t.jsx("button",{className:"tag-chip",onClick:n=>{n.stopPropagation(),r(c)},style:{background:f?"var(--ink)":"var(--bg-subtle)",color:f?"var(--bg)":"var(--ink-soft)"},children:k(c)},c)})})]})},he=()=>{q(J.aiDeadlines);const[e,s]=y.useState(!0),[l,r]=y.useState(!1),[o,h]=y.useState(new Set),[a,p]=y.useState(null),d=y.useMemo(()=>Date.now(),[]),m=A(L.conferenceDeadlines()),i=n=>{h(u=>{const x=new Set(u);return x.has(n)?x.delete(n):x.add(n),x})},c=y.useMemo(()=>{var u;const n=new Map;return(u=m.data)==null||u.results.forEach(x=>{b(x).forEach(j=>n.set(j,(n.get(j)??0)+1))}),Array.from(n.entries()).sort((x,j)=>j[1]-x[1]).map(([x])=>x)},[m.data]),f=y.useMemo(()=>{var j;const u=(((j=m.data)==null?void 0:j.results)??[]).filter(g=>!(e&&g.tier!=="a"||o.size>0&&!b(g).some(v=>o.has(v))||!l&&!I(g)&&!S(g,d))),x=g=>{const D=S(g,d);if(D)return{group:0,time:new Date(D.deadline_at).getTime()};if(I(g))return{group:1,time:g.start_date?new Date(g.start_date).getTime():0};const v=R(g);return{group:2,time:-(v?new Date(v.deadline_at).getTime():0)}};return[...u].sort((g,D)=>{const v=x(g),T=x(D);return v.group!==T.group?v.group-T.group:v.time-T.time})},[m.data,e,l,o,d]);return m.error?t.jsx("div",{className:"page",children:t.jsx(U,{variant:"destructive",children:t.jsx(M,{children:"Failed to load conference deadlines. Please try again."})})}):t.jsxs("div",{className:"page",children:[t.jsx("div",{className:"feed-header",children:t.jsxs("div",{children:[t.jsxs("h1",{className:"feed-title",children:["AI Conference ",t.jsx("em",{children:"Deadlines"})]}),t.jsx("div",{className:"feed-subtitle",children:"Upcoming submission deadlines for major AI conferences, counting down."})]})}),t.jsxs("div",{style:{display:"flex",flexWrap:"wrap",alignItems:"center",gap:20,padding:"16px 0",borderBottom:"1px solid var(--hairline)",marginBottom:24},children:[t.jsx(E,{id:"top-tier-only",label:"Top tier only",checked:e,onChange:s}),t.jsx(E,{id:"show-past",label:"Show past conferences",checked:l,onChange:r})]}),c.length>0&&t.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:6,marginBottom:24},children:[c.map(n=>{const u=o.has(n);return t.jsx("button",{className:"tag-chip",onClick:()=>i(n),style:{background:u?"var(--ink)":"var(--bg-subtle)",color:u?"var(--bg)":"var(--ink-soft)"},children:k(n)},n)}),o.size>0&&t.jsx("button",{className:"tag-chip",onClick:()=>h(new Set),style:{background:"transparent",color:"var(--ink-faint)"},children:"Clear ✕"})]}),t.jsx("div",{className:"sort-bar",children:t.jsx("div",{className:"results-count",children:m.isLoading?"…":`${f.length} conferences`})}),m.isLoading?t.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(320px, 1fr))",gap:16},children:Array.from({length:6}).map((n,u)=>t.jsx(W,{className:"h-44"},u))}):f.length===0?t.jsxs("div",{className:"no-results",children:["No conferences match these filters",l?".":" — try enabling “Show past conferences”."]}):t.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(320px, 1fr))",gap:16},children:f.map(n=>t.jsx(ne,{conf:n,now:d,selectedDomains:o,onToggleDomain:i,onOpen:p},n.id))}),t.jsx(ae,{conf:a,open:a!==null,onOpenChange:n=>{n||p(null)}})]})};export{he as default};
assets/ApiDocsView-6Ap3MJq-.js DELETED
@@ -1,9 +0,0 @@
1
- import{ay as m,b as f,i as h,j as e}from"./index-DL_JM2Ot.js";import{u as g}from"./useDocumentTitle-CK4VxG11.js";import{M as y}from"./index-Duxgh9kf.js";const b={queryKey:["public-api-schema"],queryFn:()=>m("/openapi.json",{credentials:"omit"}),staleTime:5*60*1e3};function w(s,r){const n=new URLSearchParams;for(const[a,t]of Object.entries(r["x-example-parameters"]))s.includes(`{${a}}`)?s=s.replace(`{${a}}`,encodeURIComponent(String(t))):n.append(a,String(t));return`https://paperswithcode.co${s}${n.size?`?${n}`:""}`}function v(s,r){return r==="Python"?`import requests
2
-
3
- response = requests.get(${JSON.stringify(s)}, timeout=30)
4
- response.raise_for_status()
5
- print(response.json())`:r==="JavaScript"?`const response = await fetch(${JSON.stringify(s)}, {
6
- credentials: "omit",
7
- });
8
- if (!response.ok) throw new Error(\`HTTP \${response.status}\`);
9
- console.log(await response.json());`:`curl --fail-with-body ${JSON.stringify(s)}`}function d(s){return s.$ref?s.$ref.split("/").pop()??"object":s.anyOf?s.anyOf.map(d).join(" | "):s.allOf?s.allOf.map(d).join(" & "):s.enum?s.enum.map(r=>JSON.stringify(r)).join(" | "):s.type==="array"?`array<${d(s.items??{})}>`:s.type??"object"}const k=["curl","Python","JavaScript"],q="https://github.com/huggingface/paperswithcode/issues/new?template=api.yml";function l({value:s}){const[r,n]=h.useState("Copy");async function a(){try{await navigator.clipboard.writeText(s),n("Copied")}catch{n("Select and copy the code below")}}return e.jsxs("div",{className:"api-code",children:[e.jsx("pre",{children:e.jsx("code",{children:s})}),e.jsx("button",{onClick:a,"aria-live":"polite",children:r})]})}function c({schema:s}){if(s.$ref){const r=d(s);return e.jsx("a",{href:`#model-${r}`,children:r})}return s.anyOf||s.allOf?e.jsx(e.Fragment,{children:(s.anyOf??s.allOf).map((r,n)=>e.jsxs("span",{children:[n>0&&" | ",e.jsx(c,{schema:r})]},n))}):s.type==="array"?e.jsxs(e.Fragment,{children:["array of ",e.jsx(c,{schema:s.items??{}})]}):e.jsx("code",{children:d(s)})}function x({schema:s}){return e.jsxs(e.Fragment,{children:[["minimum","maximum","minLength","maxLength"].map(r=>s[r]!==void 0&&e.jsxs("small",{children:[r,": ",s[r]]},r)),(s.anyOf??s.allOf??[]).map((r,n)=>e.jsx(x,{schema:r},n))]})}function j({schema:s}){return s.properties?e.jsx("div",{className:"api-table-wrap",children:e.jsxs("table",{children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{children:"Field"}),e.jsx("th",{children:"Type"}),e.jsx("th",{children:"Description"})]})}),e.jsx("tbody",{children:Object.entries(s.properties).map(([r,n])=>{var a;return e.jsxs("tr",{children:[e.jsxs("td",{children:[e.jsx("code",{children:r}),((a=s.required)==null?void 0:a.includes(r))&&e.jsx("small",{children:"required"})]}),e.jsx("td",{children:e.jsx(c,{schema:n})}),e.jsxs("td",{children:[n.description,n.format&&e.jsxs("small",{children:["Format: ",n.format]}),n.default!==void 0&&e.jsxs("small",{children:["Default: ",JSON.stringify(n.default)]}),n.properties&&e.jsx(j,{schema:n}),typeof n.additionalProperties=="object"&&e.jsxs("p",{children:["Values:"," ",e.jsx(c,{schema:n.additionalProperties})]})]})]},r)})})]})}):e.jsx(c,{schema:s})}function P({path:s,operation:r}){var t;const[n,a]=h.useState("curl");return e.jsxs("section",{id:r.operationId,className:"api-endpoint",children:[e.jsx("h2",{children:r.summary}),e.jsxs("p",{className:"api-path",children:[e.jsx("b",{children:"GET"})," ",e.jsx("code",{children:s})]}),e.jsx("div",{className:"api-description",children:e.jsx(y,{children:r.description})}),!!((t=r.parameters)!=null&&t.length)&&e.jsxs(e.Fragment,{children:[e.jsx("h3",{children:"Parameters"}),e.jsx("div",{className:"api-table-wrap",children:e.jsxs("table",{children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{children:"Parameter"}),e.jsx("th",{children:"Type"}),e.jsx("th",{children:"Description"})]})}),e.jsx("tbody",{children:r.parameters.map(i=>e.jsxs("tr",{children:[e.jsxs("td",{children:[e.jsx("code",{children:i.name}),e.jsxs("small",{children:[i.in," ·"," ",i.required?"required":"optional"]})]}),e.jsx("td",{children:e.jsx(c,{schema:i.schema})}),e.jsxs("td",{children:[i.description,i.schema.default!==void 0&&e.jsxs("small",{children:["Default: ",JSON.stringify(i.schema.default)]}),e.jsx(x,{schema:i.schema})]})]},`${i.in}-${i.name}`))})]})})]}),e.jsx("h3",{children:"Example request"}),e.jsx("div",{className:"api-languages",role:"group","aria-label":`Example language for ${r.summary}`,children:k.map(i=>e.jsx("button",{"aria-pressed":n===i,onClick:()=>a(i),children:i},i))}),e.jsx(l,{value:v(w(s,r),n)}),e.jsx("h3",{children:"Responses"}),Object.entries(r.responses).map(([i,o])=>{var p,u;return e.jsxs("div",{className:"api-response",children:[e.jsx("strong",{children:i})," ",o.description,((u=(p=o.content)==null?void 0:p["application/json"])==null?void 0:u.schema)&&e.jsx("p",{children:e.jsx(c,{schema:o.content["application/json"].schema})})]},i)})]})}function S(){const{data:s,isPending:r,isError:n,refetch:a}=f(b);return g("API documentation — Papers With Code",{restorePrevious:!0}),h.useEffect(()=>{if(!s||!window.location.hash)return;const t=requestAnimationFrame(()=>{var i;(i=document.getElementById(window.location.hash.slice(1)))==null||i.scrollIntoView()});return()=>cancelAnimationFrame(t)},[s]),e.jsxs("div",{className:"api-docs",children:[e.jsxs("nav",{className:"api-sidebar","aria-label":"API documentation",children:[e.jsx("strong",{children:"API documentation"}),e.jsx("a",{href:"#getting-started",children:"Getting started"}),e.jsx("a",{href:"#limits",children:"Traffic limits"}),e.jsx("a",{href:"#pagination",children:"Pagination & identifiers"}),e.jsx("a",{href:"#benchmarks",children:"Reading leaderboards"}),e.jsx("a",{href:"#errors",children:"Errors"}),e.jsx("a",{href:"#changelog",children:"Changelog"}),s&&Object.entries(s.paths).map(([t,{get:i}])=>e.jsx("a",{href:`#${i.operationId}`,children:i.summary},t)),e.jsx("a",{href:"#response-models",children:"Response models"})]}),e.jsxs("div",{className:"api-content",children:[e.jsxs("section",{id:"getting-started",children:[e.jsx("span",{className:"api-beta",children:"Experimental beta"}),e.jsx("h1",{children:"Papers With Code API"}),e.jsx("p",{className:"api-lead",children:"Find papers, explore benchmarks, and bring research results into your scripts and applications."}),e.jsx("p",{children:"Free, anonymous, read-only access. No account or API key required. The public beta covers keyword search and core catalog lookups."}),e.jsxs("p",{children:[e.jsx("a",{href:"https://paperswithcode.co/api/v1/openapi.json",children:"Download the public OpenAPI specification"})," ","· ",e.jsx("a",{href:q,children:"Report a bug or request a feature"})]}),e.jsx("h2",{children:"Your first request"}),e.jsx(l,{value:'curl --fail-with-body "https://paperswithcode.co/api/v1/papers/search?q=attention&mode=keyword&page_size=5"'}),e.jsxs("p",{children:["Responses are JSON. Python examples require"," ",e.jsx("code",{children:"pip install requests"}),"; JavaScript examples use built-in"," ",e.jsx("code",{children:"fetch"}),". Browser requests from any origin are supported for these public reads: omit cookies and authorization headers."]}),e.jsxs("p",{children:["Base URL: ",e.jsx("code",{children:"https://paperswithcode.co/api/v1"})]})]}),e.jsxs("section",{id:"limits",children:[e.jsx("h2",{children:"Traffic limits"}),e.jsx("p",{children:"Each IP address shares a catalog allowance of 120 requests/minute. List and search endpoints also share a stricter allowance of 60 requests/minute. These are sustained rates with short bursts of up to 60 and 20 excess requests respectively, not fixed-minute quotas."}),e.jsxs("p",{children:["Website browsing and scripts on the same network share these limits. Send requests sequentially, cache results, and avoid parallel crawls. On HTTP 429, wait at least the ",e.jsx("code",{children:"Retry-After"})," ","duration, then retry with increasing delays and jitter. Browser preflight requests do not consume this allowance."]})]}),e.jsxs("section",{id:"pagination",children:[e.jsx("h2",{children:"Pagination & identifiers"}),e.jsxs("p",{children:["Paginated endpoints return ",e.jsx("code",{children:"results"}),","," ",e.jsx("code",{children:"next_page"}),", and ",e.jsx("code",{children:"previous_page"}),". Catalog lists also return ",e.jsx("code",{children:"count"}),"; paper search omits it. Pass"," ",e.jsx("code",{children:"page"})," and ",e.jsx("code",{children:"page_size"}),"; stop when"," ",e.jsx("code",{children:"next_page"})," is null. Recent and trending endpoints instead return arrays bounded by ",e.jsx("code",{children:"limit"}),"."]}),e.jsx("p",{children:"Paper listing and search stop at page 100. Other bounds are shown per endpoint. Counts and page contents may change as the catalog updates; pagination is not a snapshot or a bulk export interface."}),e.jsxs("p",{children:["Use identifiers returned by lookups. Paper detail accepts an arXiv ID or numeric catalog ID; the arXiv endpoint takes an arXiv ID. Task and dataset detail accept their catalog IDs or slugs. Leaderboard metrics require numeric task and dataset IDs. Evaluation filters such as ",e.jsx("code",{children:"dataset_id"})," and ",e.jsx("code",{children:"task_id"})," require numeric catalog IDs. Example IDs may no longer exist: replace them with current lookup results."]})]}),e.jsxs("section",{id:"benchmarks",children:[e.jsx("h2",{children:"Reading leaderboards"}),e.jsxs("p",{children:["Search datasets, select a dataset, then fetch its tasks and the metrics for a dataset/task pair. Fetch"," ",e.jsx("code",{children:"/evaluations/?dataset_id=…&task_id=…&ordering=best_rank"})," ","using the numeric IDs. An evaluation includes reported scores and source information; check metric direction, split, and evaluation setup before comparing results."]}),e.jsxs("p",{children:["Use ",e.jsx("code",{children:"include_resources=true"})," on paper list/detail requests for linked repositories and project pages. Missing fields or null values mean data is unavailable; they are not zero scores. Keyword search examples explicitly send ",e.jsx("code",{children:"mode=keyword"}),"; semantic and hybrid search are outside this beta."]})]}),e.jsxs("section",{id:"errors",children:[e.jsx("h2",{children:"Errors"}),e.jsxs("p",{children:["Check the HTTP status before parsing a successful result. Errors usually contain a ",e.jsx("code",{children:"detail"})," field, which can be a string, object, or validation-error array."]}),e.jsxs("ul",{children:[e.jsxs("li",{children:[e.jsx("b",{children:"400:"})," invalid request."]}),e.jsxs("li",{children:[e.jsx("b",{children:"404:"})," record not found."]}),e.jsxs("li",{children:[e.jsx("b",{children:"422:"})," invalid parameter type, value, or missing parameter."]}),e.jsxs("li",{children:[e.jsx("b",{children:"429:"})," traffic limit exceeded; obey ",e.jsx("code",{children:"Retry-After"}),"."]}),e.jsxs("li",{children:[e.jsx("b",{children:"5xx:"})," temporary server failure; retry with bounded backoff."]})]}),e.jsx(l,{value:'{ "detail": "API traffic limit exceeded. Retry with backoff." }'})]}),e.jsxs("section",{id:"changelog",children:[e.jsx("h2",{children:"Changelog"}),e.jsx("h3",{children:"Initial experimental beta"}),e.jsx("p",{children:"Core catalog reads, keyword search, public schemas, and anonymous browser access. Planned breaking changes will be announced here at least 14 days before they take effect. Urgent security and service-restoration fixes may take effect immediately. This beta has no uptime or support-response guarantee."})]}),r&&e.jsx("p",{role:"status",children:"Loading endpoint reference…"}),n&&e.jsxs("div",{role:"alert",children:[e.jsx("p",{children:"Could not load the endpoint reference."}),e.jsx("button",{onClick:()=>void a(),children:"Retry"})]}),s&&e.jsxs(e.Fragment,{children:[Object.entries(s.paths).map(([t,{get:i}])=>e.jsx(P,{path:t,operation:i},t)),e.jsxs("section",{id:"response-models",children:[e.jsx("h2",{children:"Response models"}),Object.entries(s.components.schemas).map(([t,i])=>e.jsxs("article",{id:`model-${t}`,children:[e.jsx("h3",{children:t}),e.jsx("p",{children:i.description}),e.jsx(j,{schema:i})]},t))]})]})]})]})}export{S as default};
 
 
 
 
 
 
 
 
 
 
assets/ApiDocsView-CTVtXHbx.css ADDED
@@ -0,0 +1 @@
 
 
1
+ .api-docs{display:grid;grid-template-columns:220px minmax(0,1fr);gap:48px;max-width:1180px;margin:40px auto;padding:0 24px;color:var(--ink);font-family:var(--sans)}.api-sidebar{position:sticky;top:90px;align-self:start;max-height:calc(100vh - 110px);overflow-y:auto;display:grid;gap:12px;font-size:13px;padding-right:16px}.api-sidebar strong{margin-bottom:4px;font:500 17px/1.3 var(--serif)}.api-sidebar-group{display:grid;gap:8px;padding-bottom:12px}.api-sidebar-group>span,.api-eyebrow{font:500 11px/1.4 var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--ink-faint)}.api-sidebar a{display:flex;align-items:baseline;gap:6px;color:var(--ink-soft);text-decoration:none}.api-sidebar .api-method{font-size:9px;padding:0 4px}.api-sidebar a:hover,.api-content a{color:var(--accent-text)}.api-content{min-width:0;line-height:1.7}.api-content section,.api-content details{scroll-margin-top:100px}.api-content section{padding-bottom:32px;margin-bottom:32px;border-bottom:1px solid var(--hairline)}.api-content h1{font:500 44px/1.15 var(--serif);letter-spacing:-.02em;margin:16px 0}.api-content h2{font:500 28px/1.2 var(--serif);letter-spacing:-.02em;margin-bottom:16px}.api-content h3{font-size:17px;font-weight:600;margin:24px 0 12px}.api-content p{margin:12px 0}.api-content ul{padding-left:24px;list-style:disc}.api-content ol{padding-left:24px;list-style:decimal}.api-content ul,.api-content ol{margin:8px 0 16px}.api-content li+li{margin-top:4px}.api-content li>p{margin:4px 0}.api-lead{font-size:19px;color:var(--ink-soft)}.api-beta{display:inline-block;background:var(--highlight-bg);color:var(--highlight-text);border:1px solid var(--highlight-border);border-radius:4px;padding:2px 8px;font:500 11px/1.5 var(--mono);letter-spacing:.12em;text-transform:uppercase}.api-muted{color:var(--ink-soft);font-size:14px}.api-code,.api-path,.api-description pre{background:var(--bg-subtle);color:var(--ink);border:1px solid var(--hairline);border-radius:6px}.api-code{display:flex;align-items:flex-start;gap:12px;padding:12px;margin:16px 0}.api-code pre{flex:1;min-width:0;margin:0;padding:5px 0;overflow-x:auto;font-size:13px;line-height:1.6}.api-content button{padding:5px 10px;border:1px solid var(--hairline-strong);border-radius:6px;background:var(--bg-elevated);color:var(--ink)}.api-content button:hover{background:var(--bg-subtle)}.api-code button{flex-shrink:0;max-width:40%;font-size:12px}.api-content button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.api-languages{display:flex;gap:8px}.api-content .api-languages button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--bg)}.api-path{overflow-wrap:anywhere;font-size:14px;padding:12px 16px;font-family:var(--mono)}.api-path .api-method{margin-right:8px}.api-description{font-size:14px}.api-description pre{max-width:100%;overflow-x:auto;white-space:pre;padding:12px;margin:16px 0;font:13px/1.6 var(--mono)}.api-table-wrap{overflow-x:auto}.api-content table{min-width:580px;border-collapse:collapse;width:100%;font-size:13px;text-align:left}.api-content th,.api-content td{padding:12px 10px;border-bottom:1px solid var(--hairline);vertical-align:top;overflow-wrap:anywhere}.api-content th{font:500 11px/1.4 var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--ink-faint)}.api-content small{display:block;color:var(--ink-soft);font-size:11px}.api-response{padding:10px 0;font-size:14px}.api-content code{font-family:var(--mono);font-size:.9em}.api-method{display:inline-block;flex-shrink:0;padding:0 5px;border:1px solid var(--hairline-strong);border-radius:4px;background:var(--bg-elevated);color:var(--ink-soft);font:500 10px/1.6 var(--mono);letter-spacing:.06em}.api-endpoint h2{margin-top:4px}.api-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}.api-facts>div,.api-limits>div,.api-resource,.api-content .api-steps li,.api-model{border:1px solid var(--hairline);border-radius:8px;background:var(--bg-elevated)}.api-facts>div{display:grid;gap:2px;padding:14px 16px;line-height:1.4}.api-facts svg{color:var(--ink-soft);margin-bottom:6px}.api-facts b{font-size:16px;font-weight:600}.api-facts span{font-size:13px;color:var(--ink-soft)}.api-terminal{margin:16px 0;border:1px solid var(--hairline);border-radius:6px;overflow:hidden;background:var(--bg-subtle)}.api-terminal-bar{padding:6px 12px;border-bottom:1px solid var(--hairline);font:500 11px/1.5 var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--ink-faint)}.api-terminal .api-code{margin:0;border:0;border-radius:0}.api-resources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}.api-resource{padding:16px 18px;line-height:1.5}.api-resource header{display:flex;align-items:center;gap:10px}.api-content .api-resource h3{margin:0;font:500 20px/1.2 var(--serif);letter-spacing:-.02em}.api-resource-icon{display:inline-grid;place-items:center;width:30px;height:30px;border:1px solid var(--hairline);border-radius:4px;background:var(--bg-subtle);color:var(--ink-soft)}.api-resource p{font-size:13px;color:var(--ink-soft);margin:8px 0 12px}.api-content .api-resource ul{list-style:none;padding:0;margin:0;display:grid;gap:6px}.api-content .api-resource li+li{margin-top:0}.api-resource a{display:flex;align-items:center;gap:8px;min-width:0;text-decoration:none}.api-resource a code{overflow-wrap:anywhere;font-size:12px}.api-resource a:hover code{text-decoration:underline}.api-limits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:8px 0 20px}.api-limits>div{padding:16px 18px;line-height:1.3}.api-limits b{font:400 36px/1 var(--mono);margin-right:8px}.api-limits span{color:var(--ink-soft);font-size:14px}.api-limits p{margin:8px 0 0;font-size:13px;color:var(--ink-soft)}.api-content ol.api-steps{list-style:none;padding:0;margin:8px 0 20px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.api-content .api-steps li{position:relative;margin:0;display:grid;align-content:start;gap:6px;padding:14px;line-height:1.4}.api-steps li:not(:last-child):after{content:"→";position:absolute;right:-11px;top:18px;color:var(--ink-faint);font-size:14px;background:var(--bg)}.api-step-number{font:italic 400 28px/1 var(--serif);color:var(--accent)}.api-steps b{font-size:14px}.api-steps code{font-size:11px;overflow-wrap:anywhere}.api-content ul.api-errors{list-style:none;padding:0}.api-errors li{display:flex;align-items:baseline;gap:12px}.api-status{display:inline-block;min-width:42px;text-align:center;padding:0 6px;border:1px solid var(--hairline-strong);border-radius:4px;font:500 12px/1.6 var(--mono)}.api-status-2{background:var(--positive-bg);color:var(--positive-text);border-color:var(--positive-border)}.api-status-4,.api-status-warn{background:var(--highlight-bg);color:var(--highlight-text);border-color:var(--highlight-border)}.api-status-limit{background:var(--info-bg);color:var(--info-text);border-color:var(--info-border)}.api-status-5,.api-status-error{background:var(--negative-bg);color:var(--negative-text);border-color:var(--negative-border)}.api-model{margin:10px 0}.api-model summary{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;padding:10px 14px;cursor:pointer;line-height:1.5;list-style:none}.api-model summary::-webkit-details-marker{display:none}.api-model summary:before{content:"▸";color:var(--ink-faint);transition:transform .15s}.api-model[open] summary:before{transform:rotate(90deg)}.api-model summary code{font-weight:600}.api-model summary span{font-size:13px;color:var(--ink-soft)}.api-model[open] summary{border-bottom:1px solid var(--hairline)}.api-model>.api-table-wrap{padding:0 14px 8px}@media (max-width: 760px){.api-docs{grid-template-columns:minmax(0,1fr);gap:24px;margin-top:24px;padding:0 16px}.api-sidebar{position:static;max-height:220px;border-bottom:1px solid var(--hairline);padding-bottom:20px}.api-content h1{font-size:32px}.api-facts,.api-resources,.api-limits,.api-content ol.api-steps{grid-template-columns:minmax(0,1fr)}.api-steps li:not(:last-child):after{content:"↓";right:auto;left:24px;top:auto;bottom:-16px}}
assets/ApiDocsView-Cl7PFBES.js ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import{d as x,ay as q,b as P,i as f,j as e}from"./index-CrYWgAoM.js";import{u as I}from"./useDocumentTitle-BLJX3S0V.js";import{T as E}from"./trophy-DSSnqPIH.js";import{D as O}from"./database-ETB2BmRO.js";import{F as T}from"./file-text-C0LuaY-J.js";import{M as R}from"./index-QDUqgJJX.js";/**
2
+ * @license lucide-react v0.462.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const b=x("Braces",[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]]);/**
7
+ * @license lucide-react v0.462.0 - ISC
8
+ *
9
+ * This source code is licensed under the ISC license.
10
+ * See the LICENSE file in the root directory of this source tree.
11
+ */const S=x("Gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);/**
12
+ * @license lucide-react v0.462.0 - ISC
13
+ *
14
+ * This source code is licensed under the ISC license.
15
+ * See the LICENSE file in the root directory of this source tree.
16
+ */const C=x("KeyRound",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);/**
17
+ * @license lucide-react v0.462.0 - ISC
18
+ *
19
+ * This source code is licensed under the ISC license.
20
+ * See the LICENSE file in the root directory of this source tree.
21
+ */const $=x("ListTree",[["path",{d:"M21 12h-8",key:"1bmf0i"}],["path",{d:"M21 6H8",key:"1pqkrb"}],["path",{d:"M21 18h-8",key:"1tm79t"}],["path",{d:"M3 6v4c0 1.1.9 2 2 2h3",key:"1ywdgy"}],["path",{d:"M3 10v6c0 1.1.9 2 2 2h3",key:"2wc746"}]]),A={queryKey:["public-api-schema"],queryFn:()=>q("/openapi.json",{credentials:"omit"}),staleTime:5*60*1e3};function v(s){var i;const r=new Map;for(const[n,{get:c}]of Object.entries(s)){const d=((i=c.tags)==null?void 0:i[0])??"other";r.set(d,[...r.get(d)??[],{path:n,operation:c}])}return[...r]}function w(s){return s.replace(/^\/api\/v1/,"")}function D(s,r){const i=new URLSearchParams;for(const[n,c]of Object.entries(r["x-example-parameters"]))s.includes(`{${n}}`)?s=s.replace(`{${n}}`,encodeURIComponent(String(c))):i.append(n,String(c));return`https://paperswithcode.co${s}${i.size?`?${i}`:""}`}function F(s,r){return r==="Python"?`import requests
22
+
23
+ response = requests.get(${JSON.stringify(s)}, timeout=30)
24
+ response.raise_for_status()
25
+ print(response.json())`:r==="JavaScript"?`const response = await fetch(${JSON.stringify(s)}, {
26
+ credentials: "omit",
27
+ });
28
+ if (!response.ok) throw new Error(\`HTTP \${response.status}\`);
29
+ console.log(await response.json());`:`curl --fail-with-body ${JSON.stringify(s)}`}function u(s){return s.$ref?s.$ref.split("/").pop()??"object":s.anyOf?s.anyOf.map(u).join(" | "):s.allOf?s.allOf.map(u).join(" & "):s.enum?s.enum.map(r=>JSON.stringify(r)).join(" | "):s.type==="array"?`array<${u(s.items??{})}>`:s.type??"object"}const _=["curl","Python","JavaScript"],L="https://github.com/huggingface/paperswithcode/issues/new?template=api.yml",M={papers:{label:"Papers",blurb:"Search, recent and trending papers, with code and project links.",icon:T},tasks:{label:"Tasks",blurb:"The research task taxonomy, from image classification to agents.",icon:$},datasets:{label:"Datasets",blurb:"Benchmarks and the task and metric pairs that form leaderboards.",icon:O},evaluations:{label:"Evaluations",blurb:"Reported scores tying a paper to a dataset, task, and metric.",icon:E}};function g(s){return M[s]??{label:s.charAt(0).toUpperCase()+s.slice(1),blurb:"",icon:b}}const z=[{title:"Find a dataset",path:"/api/v1/datasets/",query:"?q=ImageNet"},{title:"List its tasks",path:"/api/v1/datasets/{dataset_id}/tasks/",query:""},{title:"Pick a metric",path:"/api/v1/datasets/{dataset_id}/tasks/{task_id}/metrics",query:""},{title:"Rank evaluations",path:"/api/v1/evaluations/",query:"?dataset_id=…&task_id=…&ordering=best_rank"}],B=[{status:"400",tone:"warn",text:"Invalid request."},{status:"404",tone:"warn",text:"Record not found."},{status:"422",tone:"warn",text:"Invalid parameter type, value, or missing parameter."},{status:"429",tone:"limit",text:e.jsxs(e.Fragment,{children:["Traffic limit exceeded; obey ",e.jsx("code",{children:"Retry-After"}),"."]})},{status:"5xx",tone:"error",text:"Temporary server failure; retry with bounded backoff."}];function m({value:s}){const[r,i]=f.useState("Copy");async function n(){try{await navigator.clipboard.writeText(s),i("Copied")}catch{i("Select and copy the code below")}}return e.jsxs("div",{className:"api-code",children:[e.jsx("pre",{children:e.jsx("code",{children:s})}),e.jsx("button",{onClick:n,"aria-live":"polite",children:r})]})}function y(){return e.jsx("span",{className:"api-method",children:"GET"})}function J(s){const r=document.getElementById(`model-${s}`);r instanceof HTMLDetailsElement&&(r.open=!0)}function h({schema:s}){if(s.$ref){const r=u(s);return e.jsx("a",{href:`#model-${r}`,onClick:()=>J(r),children:r})}return s.anyOf||s.allOf?e.jsx(e.Fragment,{children:(s.anyOf??s.allOf).map((r,i)=>e.jsxs("span",{children:[i>0&&" | ",e.jsx(h,{schema:r})]},i))}):s.type==="array"?e.jsxs(e.Fragment,{children:["array of ",e.jsx(h,{schema:s.items??{}})]}):e.jsx("code",{children:u(s)})}function k({schema:s}){return e.jsxs(e.Fragment,{children:[["minimum","maximum","minLength","maxLength"].map(r=>s[r]!==void 0&&e.jsxs("small",{children:[r,": ",s[r]]},r)),(s.anyOf??s.allOf??[]).map((r,i)=>e.jsx(k,{schema:r},i))]})}function N({schema:s}){return s.properties?e.jsx("div",{className:"api-table-wrap",children:e.jsxs("table",{children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{children:"Field"}),e.jsx("th",{children:"Type"}),e.jsx("th",{children:"Description"})]})}),e.jsx("tbody",{children:Object.entries(s.properties).map(([r,i])=>{var n;return e.jsxs("tr",{children:[e.jsxs("td",{children:[e.jsx("code",{children:r}),((n=s.required)==null?void 0:n.includes(r))&&e.jsx("small",{children:"required"})]}),e.jsx("td",{children:e.jsx(h,{schema:i})}),e.jsxs("td",{children:[i.description,i.format&&e.jsxs("small",{children:["Format: ",i.format]}),i.default!==void 0&&e.jsxs("small",{children:["Default: ",JSON.stringify(i.default)]}),i.properties&&e.jsx(N,{schema:i}),typeof i.additionalProperties=="object"&&e.jsxs("p",{children:["Values:"," ",e.jsx(h,{schema:i.additionalProperties})]})]})]},r)})})]})}):e.jsx(h,{schema:s})}function U({path:s,operation:r}){var d,t;const[i,n]=f.useState("curl"),c=(d=r.tags)==null?void 0:d[0];return e.jsxs("section",{id:r.operationId,className:"api-endpoint",children:[c&&e.jsx("span",{className:"api-eyebrow",children:g(c).label}),e.jsx("h2",{children:r.summary}),e.jsxs("p",{className:"api-path",children:[e.jsx(y,{})," ",e.jsx("code",{children:s})]}),e.jsx("div",{className:"api-description",children:e.jsx(R,{children:r.description})}),!!((t=r.parameters)!=null&&t.length)&&e.jsxs(e.Fragment,{children:[e.jsx("h3",{children:"Parameters"}),e.jsx("div",{className:"api-table-wrap",children:e.jsxs("table",{children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{children:"Parameter"}),e.jsx("th",{children:"Type"}),e.jsx("th",{children:"Description"})]})}),e.jsx("tbody",{children:r.parameters.map(a=>e.jsxs("tr",{children:[e.jsxs("td",{children:[e.jsx("code",{children:a.name}),e.jsxs("small",{children:[a.in," ·"," ",a.required?"required":"optional"]})]}),e.jsx("td",{children:e.jsx(h,{schema:a.schema})}),e.jsxs("td",{children:[a.description,a.schema.default!==void 0&&e.jsxs("small",{children:["Default: ",JSON.stringify(a.schema.default)]}),e.jsx(k,{schema:a.schema})]})]},`${a.in}-${a.name}`))})]})})]}),e.jsx("h3",{children:"Example request"}),e.jsx("div",{className:"api-languages",role:"group","aria-label":`Example language for ${r.summary}`,children:_.map(a=>e.jsx("button",{"aria-pressed":i===a,onClick:()=>n(a),children:a},a))}),e.jsx(m,{value:F(D(s,r),i)}),e.jsx("h3",{children:"Responses"}),Object.entries(r.responses).map(([a,o])=>{var l,p;return e.jsxs("div",{className:"api-response",children:[e.jsx("span",{className:`api-status api-status-${a[0]}`,children:a})," ",o.description,((p=(l=o.content)==null?void 0:l["application/json"])==null?void 0:p.schema)&&e.jsxs(e.Fragment,{children:[" ","→"," ",e.jsx(h,{schema:o.content["application/json"].schema})]})]},a)})]})}function G({spec:s}){return e.jsx("div",{className:"api-resources",children:v(s.paths).map(([r,i])=>{const{label:n,blurb:c,icon:d}=g(r);return e.jsxs("article",{className:"api-resource",children:[e.jsxs("header",{children:[e.jsx("span",{className:"api-resource-icon","aria-hidden":"true",children:e.jsx(d,{size:18})}),e.jsx("h3",{children:n})]}),c&&e.jsx("p",{children:c}),e.jsx("ul",{children:i.map(({path:t,operation:a})=>e.jsx("li",{children:e.jsxs("a",{href:`#${a.operationId}`,title:a.summary,children:[e.jsx(y,{}),e.jsx("code",{children:w(t)})]})},t))})]},r)})})}function j(){const s=window.location.hash?document.getElementById(decodeURIComponent(window.location.hash.slice(1))):null;if(!s)return;const r=s.closest("details");r&&(r.open=!0),s.scrollIntoView()}function Y(){const{data:s,isPending:r,isError:i,refetch:n}=P(A);I("API documentation — Papers With Code",{restorePrevious:!0}),f.useEffect(()=>{if(!s)return;const t=requestAnimationFrame(j);return window.addEventListener("hashchange",j),()=>{cancelAnimationFrame(t),window.removeEventListener("hashchange",j)}},[s]);const c=s?v(s.paths):[],d=s?Object.keys(s.paths).length:null;return e.jsxs("div",{className:"api-docs",children:[e.jsxs("nav",{className:"api-sidebar","aria-label":"API documentation",children:[e.jsx("strong",{children:"API documentation"}),e.jsxs("div",{className:"api-sidebar-group",children:[e.jsx("span",{children:"Guides"}),e.jsx("a",{href:"#getting-started",children:"Getting started"}),e.jsx("a",{href:"#overview",children:"Catalog overview"}),e.jsx("a",{href:"#limits",children:"Traffic limits"}),e.jsx("a",{href:"#pagination",children:"Pagination & identifiers"}),e.jsx("a",{href:"#benchmarks",children:"Reading leaderboards"}),e.jsx("a",{href:"#errors",children:"Errors"}),e.jsx("a",{href:"#changelog",children:"Changelog"})]}),c.map(([t,a])=>e.jsxs("div",{className:"api-sidebar-group",children:[e.jsx("span",{children:g(t).label}),a.map(({path:o,operation:l})=>e.jsxs("a",{href:`#${l.operationId}`,children:[e.jsx(y,{}),l.summary]},o))]},t)),e.jsxs("div",{className:"api-sidebar-group",children:[e.jsx("span",{children:"Reference"}),e.jsx("a",{href:"#response-models",children:"Response models"})]})]}),e.jsxs("div",{className:"api-content",children:[e.jsxs("section",{id:"getting-started",className:"api-hero",children:[e.jsx("span",{className:"api-beta",children:"Experimental beta"}),e.jsx("h1",{children:"Papers with Code API"}),e.jsx("p",{className:"api-lead",children:"Find papers, explore benchmarks, and bring research results into your scripts and applications."}),e.jsxs("div",{className:"api-facts",children:[e.jsxs("div",{children:[e.jsx(C,{size:18,"aria-hidden":"true"}),e.jsx("b",{children:"No API key"}),e.jsx("span",{children:"Free, anonymous, read-only access"})]}),e.jsxs("div",{children:[e.jsx(S,{size:18,"aria-hidden":"true"}),e.jsx("b",{children:"120 / minute"}),e.jsx("span",{children:"Per IP, with short bursts"})]}),e.jsxs("div",{children:[e.jsx(b,{size:18,"aria-hidden":"true"}),e.jsx("b",{children:d===null?"OpenAPI":`${d} endpoints`}),e.jsx("span",{children:"JSON responses, OpenAPI schema"})]})]}),e.jsx("p",{children:"No account or API key required. The public beta covers keyword search and core catalog lookups."}),e.jsxs("p",{children:[e.jsx("a",{href:"https://paperswithcode.co/api/v1/openapi.json",children:"Download the public OpenAPI specification"})," ","· ",e.jsx("a",{href:L,children:"Report a bug or request a feature"})]}),e.jsx("h2",{children:"Your first request"}),e.jsxs("div",{className:"api-terminal",children:[e.jsx("div",{className:"api-terminal-bar","aria-hidden":"true",children:"Shell"}),e.jsx(m,{value:'curl --fail-with-body "https://paperswithcode.co/api/v1/papers/search?q=attention&mode=keyword&page_size=5"'})]}),e.jsxs("p",{children:["Responses are JSON. Python examples require"," ",e.jsx("code",{children:"pip install requests"}),"; JavaScript examples use built-in"," ",e.jsx("code",{children:"fetch"}),". Browser requests from any origin are supported for these public reads: omit cookies and authorization headers."]}),e.jsxs("p",{children:["Base URL: ",e.jsx("code",{children:"https://paperswithcode.co/api/v1"})]})]}),e.jsxs("section",{id:"overview",children:[e.jsx("h2",{children:"Catalog overview"}),e.jsx("p",{children:"Four resources make up the catalog. Evaluations connect them: each one is a score a paper reports on a dataset for a task."}),s?e.jsx(G,{spec:s}):e.jsx("p",{className:"api-muted",children:"The endpoint overview loads with the reference below."})]}),e.jsxs("section",{id:"limits",children:[e.jsx("h2",{children:"Traffic limits"}),e.jsxs("div",{className:"api-limits",children:[e.jsxs("div",{children:[e.jsx("b",{children:"120"}),e.jsx("span",{children:"requests/minute"}),e.jsx("p",{children:"All catalog reads · bursts of up to 60 more"})]}),e.jsxs("div",{children:[e.jsx("b",{children:"60"}),e.jsx("span",{children:"requests/minute"}),e.jsx("p",{children:"List and search endpoints · bursts of up to 20 more"})]})]}),e.jsx("p",{children:"Each IP address shares a catalog allowance of 120 requests/minute. List and search endpoints also share a stricter allowance of 60 requests/minute. These are sustained rates with short bursts of up to 60 and 20 excess requests respectively, not fixed-minute quotas."}),e.jsxs("p",{children:["Website browsing and scripts on the same network share these limits. Send requests sequentially, cache results, and avoid parallel crawls. On HTTP 429, wait at least the ",e.jsx("code",{children:"Retry-After"})," ","duration, then retry with increasing delays and jitter. Browser preflight requests do not consume this allowance."]})]}),e.jsxs("section",{id:"pagination",children:[e.jsx("h2",{children:"Pagination & identifiers"}),e.jsxs("p",{children:["Paginated endpoints return ",e.jsx("code",{children:"results"}),","," ",e.jsx("code",{children:"next_page"}),", and ",e.jsx("code",{children:"previous_page"}),". Catalog lists also return ",e.jsx("code",{children:"count"}),"; paper search omits it. Pass"," ",e.jsx("code",{children:"page"})," and ",e.jsx("code",{children:"page_size"}),"; stop when"," ",e.jsx("code",{children:"next_page"})," is null. Recent and trending endpoints instead return arrays bounded by ",e.jsx("code",{children:"limit"}),"."]}),e.jsx("p",{children:"Paper listing and search stop at page 100. Other bounds are shown per endpoint. Counts and page contents may change as the catalog updates; pagination is not a snapshot or a bulk export interface."}),e.jsxs("p",{children:["Use identifiers returned by lookups. Paper detail accepts an arXiv ID or numeric catalog ID; the arXiv endpoint takes an arXiv ID. Task and dataset detail accept their catalog IDs or slugs. Leaderboard metrics require numeric task and dataset IDs. Evaluation filters such as ",e.jsx("code",{children:"dataset_id"})," and ",e.jsx("code",{children:"task_id"})," require numeric catalog IDs. Example IDs may no longer exist: replace them with current lookup results."]})]}),e.jsxs("section",{id:"benchmarks",children:[e.jsx("h2",{children:"Reading leaderboards"}),e.jsx("ol",{className:"api-steps",children:z.map((t,a)=>{var p;const o=(p=s==null?void 0:s.paths[t.path])==null?void 0:p.get.operationId,l=e.jsxs("code",{children:[w(t.path),t.query]});return e.jsxs("li",{children:[e.jsx("span",{className:"api-step-number","aria-hidden":"true",children:a+1}),e.jsx("b",{children:t.title}),o?e.jsx("a",{href:`#${o}`,children:l}):l]},t.path)})}),e.jsxs("p",{children:["Search datasets, select a dataset, then fetch its tasks and the metrics for a dataset/task pair. Fetch"," ",e.jsx("code",{children:"/evaluations/?dataset_id=…&task_id=…&ordering=best_rank"})," ","using the numeric IDs. An evaluation includes reported scores and source information; check metric direction, split, and evaluation setup before comparing results."]}),e.jsxs("p",{children:["Use ",e.jsx("code",{children:"include_resources=true"})," on paper list/detail requests for linked repositories and project pages. Missing fields or null values mean data is unavailable; they are not zero scores. Keyword search examples explicitly send ",e.jsx("code",{children:"mode=keyword"}),"; semantic and hybrid search are outside this beta."]})]}),e.jsxs("section",{id:"errors",children:[e.jsx("h2",{children:"Errors"}),e.jsxs("p",{children:["Check the HTTP status before parsing a successful result. Errors usually contain a ",e.jsx("code",{children:"detail"})," field, which can be a string, object, or validation-error array."]}),e.jsx("ul",{className:"api-errors",children:B.map(({status:t,tone:a,text:o})=>e.jsxs("li",{children:[e.jsx("span",{className:`api-status api-status-${a}`,children:t}),e.jsx("span",{children:o})]},t))}),e.jsx(m,{value:'{ "detail": "API traffic limit exceeded. Retry with backoff." }'})]}),e.jsxs("section",{id:"changelog",children:[e.jsx("h2",{children:"Changelog"}),e.jsx("h3",{children:"Initial experimental beta"}),e.jsx("p",{children:"Core catalog reads, keyword search, public schemas, and anonymous browser access. Planned breaking changes will be announced here at least 14 days before they take effect. Urgent security and service-restoration fixes may take effect immediately. This beta has no uptime or support-response guarantee."})]}),r&&e.jsx("p",{role:"status",children:"Loading endpoint reference…"}),i&&e.jsxs("div",{role:"alert",children:[e.jsx("p",{children:"Could not load the endpoint reference."}),e.jsx("button",{onClick:()=>void n(),children:"Retry"})]}),s&&e.jsxs(e.Fragment,{children:[Object.entries(s.paths).map(([t,{get:a}])=>e.jsx(U,{path:t,operation:a},t)),e.jsxs("section",{id:"response-models",children:[e.jsx("h2",{children:"Response models"}),e.jsx("p",{className:"api-muted",children:"Expand a model to see its fields. Type links jump to the model."}),Object.entries(s.components.schemas).map(([t,a])=>e.jsxs("details",{id:`model-${t}`,className:"api-model",children:[e.jsxs("summary",{children:[e.jsx("code",{children:t}),a.description&&e.jsx("span",{children:a.description})]}),e.jsx(N,{schema:a})]},t))]})]})]})]})}export{Y as default};
assets/ApiDocsView-DPuMdYvY.css DELETED
@@ -1 +0,0 @@
1
- .api-docs{display:grid;grid-template-columns:220px minmax(0,1fr);gap:48px;max-width:1180px;margin:40px auto;padding:0 24px;color:var(--ink);font-family:var(--sans)}.api-sidebar{position:sticky;top:90px;align-self:start;max-height:calc(100vh - 110px);overflow-y:auto;display:grid;gap:12px;font-size:13px;padding-right:16px}.api-sidebar strong{margin-bottom:8px}.api-sidebar a{color:var(--ink-soft);text-decoration:none}.api-sidebar a:hover,.api-content a{color:var(--accent-text)}.api-content{min-width:0;line-height:1.7}.api-content section,.api-content article{scroll-margin-top:100px}.api-content section{padding-bottom:32px;margin-bottom:32px;border-bottom:1px solid var(--hairline)}.api-content h1{font-family:var(--serif);font-size:44px;line-height:1.2;margin:16px 0;font-weight:600;letter-spacing:-.025em}.api-content h2{font:600 28px/1.2 var(--serif);letter-spacing:-.02em;margin-bottom:16px}.api-content h3{font-size:17px;font-weight:600;margin:24px 0 12px}.api-content p{margin:12px 0}.api-content ul{padding-left:24px;list-style:disc}.api-content ol{padding-left:24px;list-style:decimal}.api-content ul,.api-content ol{margin:8px 0 16px}.api-content li+li{margin-top:4px}.api-content li>p{margin:4px 0}.api-lead{font-size:19px;color:var(--ink-soft)}.api-beta{display:inline-block;background:#fef3c7;color:#92400e;border-radius:6px;padding:3px 9px;font-size:12px;font-weight:600}.api-code{display:flex;align-items:flex-start;gap:12px;padding:12px;margin:16px 0}.api-code,.api-path,.api-description pre{background:#1e293b;color:#f1f5f9;border:1px solid #475569;border-radius:8px}.api-code pre{flex:1;min-width:0;margin:0;padding:5px 0;overflow-x:auto;font-size:13px;line-height:1.6}.api-code button{flex-shrink:0;max-width:40%;font-size:12px}.api-content button{padding:5px 10px;border:1px solid var(--hairline);border-radius:5px}.api-code button{background:#334155;color:#f1f5f9;border-color:#64748b}.api-code button:hover{background:#475569}.api-code button:focus-visible{outline:2px solid #93c5fd;outline-offset:2px}.api-languages{display:flex;gap:8px}.api-languages button[aria-pressed=true]{background:#1e293b;color:#fff}.api-path{overflow-wrap:anywhere;font-size:14px;padding:12px 16px;font-family:var(--mono)}.api-path b{color:#6ee7b7;margin-right:8px}.api-description{font-size:14px}.api-table-wrap{overflow-x:auto}.api-content table{min-width:580px;border-collapse:collapse;width:100%;font-size:13px;text-align:left}.api-content th,.api-content td{padding:12px 10px;border-bottom:1px solid var(--hairline);vertical-align:top;overflow-wrap:anywhere}.api-content small{display:block;color:var(--ink-soft);font-size:11px}.api-response{padding:10px 0;font-size:14px}.api-content code{font-family:var(--mono);font-size:.9em}.api-content article{margin:32px 0}@media (max-width: 760px){.api-docs{grid-template-columns:minmax(0,1fr);gap:24px;margin-top:24px;padding:0 16px}.api-sidebar{position:static;max-height:220px;border-bottom:1px solid var(--hairline);padding-bottom:20px}.api-content h1{font-size:28px}}.api-description pre{max-width:100%;overflow-x:auto;white-space:pre;padding:12px;margin:16px 0;font:13px/1.6 var(--mono)}
 
 
assets/{AreaSection-BE-V9m-Z.js → AreaSection-0kfCUYRS.js} RENAMED
@@ -1 +1 @@
1
- import{j as s}from"./index-DL_JM2Ot.js";import{S as l}from"./skeleton-CKwY1CoC.js";const m=({id:t,title:a,description:e,meta:r,style:c,children:i})=>s.jsxs("section",{id:t,className:"area-section",style:c,children:[s.jsxs("div",{className:"area-section-head",children:[s.jsxs("div",{children:[s.jsx("h2",{className:"area-section-title",children:a}),e&&s.jsx("div",{className:"area-section-description",children:e})]}),s.jsx("div",{className:"area-section-meta",children:r})]}),s.jsx("div",{className:"tag-grid",children:i})]}),h=({sections:t=4,tiles:a,tileClassName:e})=>s.jsx("div",{className:"area-directory-skeleton",children:Array.from({length:t}).map((r,c)=>s.jsxs("div",{children:[s.jsx(l,{className:"h-8 w-1/3 mb-4"}),s.jsx("div",{className:"tag-grid",children:Array.from({length:a}).map((i,n)=>s.jsx(l,{className:e},n))})]},c))}),x=({areas:t})=>{const a=t.filter(r=>r.tasks.length>0),e=a.reduce((r,c)=>r+c.tasks.length,0);return e===0?null:s.jsxs("div",{className:"area-directory-footer",children:[e," tasks across ",a.length," areas."]})};export{h as A,m as a,x as b};
 
1
+ import{j as s}from"./index-CrYWgAoM.js";import{S as l}from"./skeleton-CR7iZvat.js";const m=({id:t,title:a,description:e,meta:r,style:c,children:i})=>s.jsxs("section",{id:t,className:"area-section",style:c,children:[s.jsxs("div",{className:"area-section-head",children:[s.jsxs("div",{children:[s.jsx("h2",{className:"area-section-title",children:a}),e&&s.jsx("div",{className:"area-section-description",children:e})]}),s.jsx("div",{className:"area-section-meta",children:r})]}),s.jsx("div",{className:"tag-grid",children:i})]}),h=({sections:t=4,tiles:a,tileClassName:e})=>s.jsx("div",{className:"area-directory-skeleton",children:Array.from({length:t}).map((r,c)=>s.jsxs("div",{children:[s.jsx(l,{className:"h-8 w-1/3 mb-4"}),s.jsx("div",{className:"tag-grid",children:Array.from({length:a}).map((i,n)=>s.jsx(l,{className:e},n))})]},c))}),x=({areas:t})=>{const a=t.filter(r=>r.tasks.length>0),e=a.reduce((r,c)=>r+c.tasks.length,0);return e===0?null:s.jsxs("div",{className:"area-directory-footer",children:[e," tasks across ",a.length," areas."]})};export{h as A,m as a,x as b};
assets/{AstraForRoboticsView-CjsH6UFy.js → AstraForRoboticsView-D28_KdB0.js} RENAMED
@@ -1 +1 @@
1
- import{w as p,i as u,j as a,L as o,B as g}from"./index-DL_JM2Ot.js";import{b as x,u as b,c as f,P as j}from"./usePapers-DbWhzgNx.js";import{A as y,a as v}from"./alert-BAtahhuM.js";import{u as k,f as w}from"./useDocumentTitle-CK4VxG11.js";import{t as A}from"./transform-WCen521A.js";import"./PaperCard-BXiZHon_.js";import"./AuthorAvatar-CrqIFv87.js";import"./SotaBadges-GpZeMWYD.js";import"./colors-BkWRhvFI.js";import"./Icon-N8z7DeBC.js";import"./LatexTitle-CgJviprz.js";import"./safeExternalHref-CkBrsh84.js";import"./popover-DRgAhCdU.js";import"./skeleton-CKwY1CoC.js";import"./useIntersectionObserver-CK36kpUi.js";import"./useInfiniteQuery-hVKCzcm1.js";const n="robotics",i="gpt-6-astra",_="https://x.com/YuXiang_IRVL/status/2100395131924840570",P=[{handle:"Frame_Robotics",author:"Frame Robotics",summary:"Real-arm control that fixes grip angle and carry height on the next try after a miss.",url:"https://x.com/Frame_Robotics/status/2099900836273090614"},{handle:"qineng_wang",author:"Qineng Wang",summary:"Dual-ALOHA spatial-constraint puzzles: unlocking interlocked parts and threading a rope through three rings.",url:"https://x.com/qineng_wang/status/2099893504658866561"},{handle:"__Rhodium__",author:"Lucas",summary:"In-context learning of the controls and the workspace, reaching the task goal in three tries.",url:"https://x.com/__Rhodium__/status/2099521054678925534"},{handle:"SuveenE",author:"Suveen Ellawela",summary:"Picking up a pipette and fitting a 5 mm tip on a MolmoAct2 real-world eval, using the free hand for a better view.",url:"https://x.com/SuveenE/status/2099448450341605672"},{handle:"cdngdev",author:"thijs",summary:"A robot arm with a paintbrush painting the Golden Gate Bridge, improving across attempts from camera feedback.",url:"https://x.com/cdngdev/status/2097339677128982873"},{handle:"IsaacSin12",author:"Isaac Sin",summary:"Zero-shot sorting of irregularly shaped blocks into cups by color.",url:"https://x.com/IsaacSin12/status/2096715382166098302"},{handle:"chooi_jeq",author:"Jay Chooi",summary:"Robocurve's robot-control comparison: 95% task completion versus 40% for Fable 5.1 at lower cost.",url:"https://x.com/chooi_jeq/status/2096064315115839904"}],R=[{handle:"Lingjun_Mao",author:"Lingjun Mao",summary:"Adapting to a new embodiment to put a cake into an air fryer through CuRobo motion-planning tool APIs.",url:"https://x.com/Lingjun_Mao/status/2100294902672462176"},{handle:"walterzhu8",author:"Wentao Zhu",summary:"A day-and-a-half autonomous run that builds and trains pen spinning on a Sharpa hand in Isaac Lab.",url:"https://x.com/walterzhu8/status/2100212420840989112"},{handle:"mishig25",author:"Mishig",summary:"Painting the Eiffel Tower in MuJoCo with an SO-101 and a brush, with the full experiment shared on Hugging Face.",url:"https://x.com/mishig25/status/2099611674793668676"},{handle:"RunpeiDong",author:"Runpei Dong",summary:"Getting a humanoid into a Tesla in MuJoCo: learning from feedback, then reusing that experience with egocentric perception.",url:"https://x.com/RunpeiDong/status/2099604536327614717"},{handle:"frankzydou",author:"Zhiyang (Frank) Dou",summary:"A LeRobot SO-101 real-world pickup from a third-person RGB camera, where the arm has to bend back to reach the pen.",url:"https://x.com/frankzydou/status/2099338127915512297"},{handle:"Parvkpr",author:"Parv Kapoor",summary:"Real-to-sim: building an interactive simulation environment from a single image or video.",url:"https://x.com/Parvkpr/status/2098847963867238597"},{handle:"z_code68632",author:"code_z",summary:"One demo per task: unscrewing a bottle cap, inserting a plug, clearing obstacles, and imitating a dance on a real robot.",url:"https://x.com/z_code68632/status/2098397364725895387"}],h=({posts:s,label:e})=>a.jsxs("div",{className:"astra-posts",children:[a.jsx("div",{className:"astra-posts-label",children:e}),a.jsx("ul",{children:s.map(t=>a.jsxs("li",{children:[a.jsxs("a",{href:t.url,target:"_blank",rel:"noreferrer",children:["@",t.handle]}),a.jsxs("span",{className:"astra-post-author",children:[" ",t.author]}),a.jsxs("span",{className:"astra-post-summary",children:[" — ",t.summary]})]},t.url))})]}),B=()=>{var l,c;const s=x(),e=b(p.list({task:n,method:i,...s.filters}),r=>g.list({...s.filters,task:n,method:i,page:r,page_size:12}));k(w("GPT-6 Astra for Robotics"));const t=u.useMemo(()=>{var r;return(((r=e.data)==null?void 0:r.pages)??[]).flatMap(d=>d.results.map(A))},[e.data]),m=((c=(l=e.data)==null?void 0:l.pages[0])==null?void 0:c.count)??0;return a.jsxs("div",{className:"page",children:[a.jsxs("nav",{className:"breadcrumb","aria-label":"Breadcrumb",children:[a.jsx(o,{to:"/",children:"Home"}),a.jsx("span",{children:" / "}),a.jsx("span",{children:"GPT-6 Astra for Robotics"})]}),a.jsx("header",{className:"feed-header",children:a.jsxs("div",{children:[a.jsx("div",{className:"astra-eyebrow",children:"Collection"}),a.jsxs("h1",{className:"feed-title",children:["GPT-6 Astra ",a.jsx("em",{children:"for Robotics"})]}),a.jsx("div",{className:"feed-subtitle",children:"Papers, technical reports, and evaluations that put OpenAI’s frontier model in control of real and simulated robots."}),a.jsxs("p",{className:"astra-lede",children:["The GPT-6 Astra launch never mentioned robots, yet within days the model was driving arms, hands, and humanoids. As"," ",a.jsx("a",{href:_,target:"_blank",rel:"noreferrer",children:"Yu Xiang"})," ","framed it, the work splits into two families: Astra acting as the robot policy itself, and Astra acting as an agent that orchestrates everything else."]})]})}),a.jsxs("section",{className:"astra-approaches","aria-label":"How GPT-6 Astra is used for robots",children:[a.jsxs("article",{className:"astra-approach",children:[a.jsx("div",{className:"astra-approach-num",children:"01 / Robot policy"}),a.jsx("h2",{children:"Astra as the policy, like a VLA"}),a.jsx("p",{children:"The model looks at camera frames and robot state and directly emits actions: end-effector poses, joint targets, or gripper commands, closing the control loop step by step with no task-specific training."}),a.jsx(h,{posts:P,label:"Seen on X"})]}),a.jsxs("article",{className:"astra-approach",children:[a.jsx("div",{className:"astra-approach-num",children:"02 / Agent"}),a.jsx("h2",{children:"Astra as the agent"}),a.jsx("p",{children:"The model reasons about the scene, writes and runs code, calls planners and tools, or delegates low-level motion to pretrained policies such as VLAs, and keeps the robot on task over long horizons."}),a.jsx(h,{posts:R,label:"Seen on X"})]})]}),a.jsxs("p",{className:"astra-note",children:["Listing is automatic: any paper tagged with both the"," ",a.jsx(o,{to:`/tasks/${n}`,children:"Robotics"})," task and the"," ",a.jsx(o,{to:`/methods/${i}`,children:"GPT-6 Astra"})," method appears here. Missing a report or preprint?"," ",a.jsx(o,{to:"/submit",children:"Submit it"}),"."]}),a.jsxs("div",{className:"task-section-head",style:{marginTop:36},children:[a.jsx("div",{className:"task-section-eyebrow",children:"Top trending · sort below"}),a.jsxs("div",{className:"task-section-title",children:["Papers ",a.jsxs("span",{className:"meta",children:["[",m.toLocaleString(),"]"]})]})]}),a.jsx(f,{feed:s,showDateFilter:!1}),e.error?a.jsx(y,{variant:"destructive",children:a.jsx(v,{children:"Failed to load the collection. Please try again."})}):a.jsx(j,{query:e,cards:t,empty:"No papers match this selection yet."})]})};export{B as default};
 
1
+ import{w as p,i as u,j as a,L as o,B as g}from"./index-CrYWgAoM.js";import{b as x,u as b,c as f,P as j}from"./usePapers-BPV2QuS7.js";import{A as y,a as v}from"./alert-BWfaZ9GT.js";import{u as k,f as w}from"./useDocumentTitle-BLJX3S0V.js";import{t as A}from"./transform-CRzM_tWE.js";import"./PaperCard-CrdVyQE8.js";import"./AuthorAvatar-Cn_8_omA.js";import"./SotaBadges-MTukWJ8b.js";import"./colors-BkWRhvFI.js";import"./Icon-BrPPGkYF.js";import"./LatexTitle-TFtKXSOA.js";import"./safeExternalHref-CkBrsh84.js";import"./popover-DfUABjJn.js";import"./skeleton-CR7iZvat.js";import"./useIntersectionObserver-CWHTKkKe.js";import"./useInfiniteQuery-B5y4jCiW.js";const n="robotics",i="gpt-6-astra",_="https://x.com/YuXiang_IRVL/status/2100395131924840570",P=[{handle:"Frame_Robotics",author:"Frame Robotics",summary:"Real-arm control that fixes grip angle and carry height on the next try after a miss.",url:"https://x.com/Frame_Robotics/status/2099900836273090614"},{handle:"qineng_wang",author:"Qineng Wang",summary:"Dual-ALOHA spatial-constraint puzzles: unlocking interlocked parts and threading a rope through three rings.",url:"https://x.com/qineng_wang/status/2099893504658866561"},{handle:"__Rhodium__",author:"Lucas",summary:"In-context learning of the controls and the workspace, reaching the task goal in three tries.",url:"https://x.com/__Rhodium__/status/2099521054678925534"},{handle:"SuveenE",author:"Suveen Ellawela",summary:"Picking up a pipette and fitting a 5 mm tip on a MolmoAct2 real-world eval, using the free hand for a better view.",url:"https://x.com/SuveenE/status/2099448450341605672"},{handle:"cdngdev",author:"thijs",summary:"A robot arm with a paintbrush painting the Golden Gate Bridge, improving across attempts from camera feedback.",url:"https://x.com/cdngdev/status/2097339677128982873"},{handle:"IsaacSin12",author:"Isaac Sin",summary:"Zero-shot sorting of irregularly shaped blocks into cups by color.",url:"https://x.com/IsaacSin12/status/2096715382166098302"},{handle:"chooi_jeq",author:"Jay Chooi",summary:"Robocurve's robot-control comparison: 95% task completion versus 40% for Fable 5.1 at lower cost.",url:"https://x.com/chooi_jeq/status/2096064315115839904"}],R=[{handle:"Lingjun_Mao",author:"Lingjun Mao",summary:"Adapting to a new embodiment to put a cake into an air fryer through CuRobo motion-planning tool APIs.",url:"https://x.com/Lingjun_Mao/status/2100294902672462176"},{handle:"walterzhu8",author:"Wentao Zhu",summary:"A day-and-a-half autonomous run that builds and trains pen spinning on a Sharpa hand in Isaac Lab.",url:"https://x.com/walterzhu8/status/2100212420840989112"},{handle:"mishig25",author:"Mishig",summary:"Painting the Eiffel Tower in MuJoCo with an SO-101 and a brush, with the full experiment shared on Hugging Face.",url:"https://x.com/mishig25/status/2099611674793668676"},{handle:"RunpeiDong",author:"Runpei Dong",summary:"Getting a humanoid into a Tesla in MuJoCo: learning from feedback, then reusing that experience with egocentric perception.",url:"https://x.com/RunpeiDong/status/2099604536327614717"},{handle:"frankzydou",author:"Zhiyang (Frank) Dou",summary:"A LeRobot SO-101 real-world pickup from a third-person RGB camera, where the arm has to bend back to reach the pen.",url:"https://x.com/frankzydou/status/2099338127915512297"},{handle:"Parvkpr",author:"Parv Kapoor",summary:"Real-to-sim: building an interactive simulation environment from a single image or video.",url:"https://x.com/Parvkpr/status/2098847963867238597"},{handle:"z_code68632",author:"code_z",summary:"One demo per task: unscrewing a bottle cap, inserting a plug, clearing obstacles, and imitating a dance on a real robot.",url:"https://x.com/z_code68632/status/2098397364725895387"}],h=({posts:s,label:e})=>a.jsxs("div",{className:"astra-posts",children:[a.jsx("div",{className:"astra-posts-label",children:e}),a.jsx("ul",{children:s.map(t=>a.jsxs("li",{children:[a.jsxs("a",{href:t.url,target:"_blank",rel:"noreferrer",children:["@",t.handle]}),a.jsxs("span",{className:"astra-post-author",children:[" ",t.author]}),a.jsxs("span",{className:"astra-post-summary",children:[" — ",t.summary]})]},t.url))})]}),B=()=>{var l,c;const s=x(),e=b(p.list({task:n,method:i,...s.filters}),r=>g.list({...s.filters,task:n,method:i,page:r,page_size:12}));k(w("GPT-6 Astra for Robotics"));const t=u.useMemo(()=>{var r;return(((r=e.data)==null?void 0:r.pages)??[]).flatMap(d=>d.results.map(A))},[e.data]),m=((c=(l=e.data)==null?void 0:l.pages[0])==null?void 0:c.count)??0;return a.jsxs("div",{className:"page",children:[a.jsxs("nav",{className:"breadcrumb","aria-label":"Breadcrumb",children:[a.jsx(o,{to:"/",children:"Home"}),a.jsx("span",{children:" / "}),a.jsx("span",{children:"GPT-6 Astra for Robotics"})]}),a.jsx("header",{className:"feed-header",children:a.jsxs("div",{children:[a.jsx("div",{className:"astra-eyebrow",children:"Collection"}),a.jsxs("h1",{className:"feed-title",children:["GPT-6 Astra ",a.jsx("em",{children:"for Robotics"})]}),a.jsx("div",{className:"feed-subtitle",children:"Papers, technical reports, and evaluations that put OpenAI’s frontier model in control of real and simulated robots."}),a.jsxs("p",{className:"astra-lede",children:["The GPT-6 Astra launch never mentioned robots, yet within days the model was driving arms, hands, and humanoids. As"," ",a.jsx("a",{href:_,target:"_blank",rel:"noreferrer",children:"Yu Xiang"})," ","framed it, the work splits into two families: Astra acting as the robot policy itself, and Astra acting as an agent that orchestrates everything else."]})]})}),a.jsxs("section",{className:"astra-approaches","aria-label":"How GPT-6 Astra is used for robots",children:[a.jsxs("article",{className:"astra-approach",children:[a.jsx("div",{className:"astra-approach-num",children:"01 / Robot policy"}),a.jsx("h2",{children:"Astra as the policy, like a VLA"}),a.jsx("p",{children:"The model looks at camera frames and robot state and directly emits actions: end-effector poses, joint targets, or gripper commands, closing the control loop step by step with no task-specific training."}),a.jsx(h,{posts:P,label:"Seen on X"})]}),a.jsxs("article",{className:"astra-approach",children:[a.jsx("div",{className:"astra-approach-num",children:"02 / Agent"}),a.jsx("h2",{children:"Astra as the agent"}),a.jsx("p",{children:"The model reasons about the scene, writes and runs code, calls planners and tools, or delegates low-level motion to pretrained policies such as VLAs, and keeps the robot on task over long horizons."}),a.jsx(h,{posts:R,label:"Seen on X"})]})]}),a.jsxs("p",{className:"astra-note",children:["Listing is automatic: any paper tagged with both the"," ",a.jsx(o,{to:`/tasks/${n}`,children:"Robotics"})," task and the"," ",a.jsx(o,{to:`/methods/${i}`,children:"GPT-6 Astra"})," method appears here. Missing a report or preprint?"," ",a.jsx(o,{to:"/submit",children:"Submit it"}),"."]}),a.jsxs("div",{className:"task-section-head",style:{marginTop:36},children:[a.jsx("div",{className:"task-section-eyebrow",children:"Top trending · sort below"}),a.jsxs("div",{className:"task-section-title",children:["Papers ",a.jsxs("span",{className:"meta",children:["[",m.toLocaleString(),"]"]})]})]}),a.jsx(f,{feed:s,showDateFilter:!1}),e.error?a.jsx(y,{variant:"destructive",children:a.jsx(v,{children:"Failed to load the collection. Please try again."})}):a.jsx(j,{query:e,cards:t,empty:"No papers match this selection yet."})]})};export{B as default};
assets/{AuthorAvatar-CrqIFv87.js → AuthorAvatar-Cn_8_omA.js} RENAMED
@@ -1 +1 @@
1
- import{i as c,j as r}from"./index-DL_JM2Ot.js";const p=a=>a!=null&&a.startsWith("https://")&&!a.startsWith("https://huggingface.co/avatars/")?a:null,h=({url:a,className:o,href:t,label:n})=>{const[i,l]=c.useState(!1),s=i?null:p(a);if(!s)return null;const e=r.jsx("img",{className:`author-avatar-base ${o}`,src:s,alt:"",loading:"lazy",onError:()=>l(!0)});return t?r.jsx("a",{href:t,target:"_blank",rel:"noopener noreferrer","aria-label":n,children:e}):e};export{h as A};
 
1
+ import{i as c,j as r}from"./index-CrYWgAoM.js";const p=a=>a!=null&&a.startsWith("https://")&&!a.startsWith("https://huggingface.co/avatars/")?a:null,h=({url:a,className:o,href:t,label:n})=>{const[i,l]=c.useState(!1),s=i?null:p(a);if(!s)return null;const e=r.jsx("img",{className:`author-avatar-base ${o}`,src:s,alt:"",loading:"lazy",onError:()=>l(!0)});return t?r.jsx("a",{href:t,target:"_blank",rel:"noopener noreferrer","aria-label":n,children:e}):e};export{h as A};
assets/{AuthorDetailView-CbTOaBV0.js → AuthorDetailView-BoKDdqho.js} RENAMED
@@ -1 +1 @@
1
- import{u as b,j as a,b as N,w as v,i as F,m as y,aN as A,L as P,M as k,B as $}from"./index-DL_JM2Ot.js";import{A as S}from"./AuthorAvatar-CrqIFv87.js";import{b as w,u as L,c as R,P as T}from"./usePapers-DbWhzgNx.js";import{R as z}from"./ResearchFollowButton-g73yztEC.js";import{A as C,a as H}from"./alert-BAtahhuM.js";import{S as B}from"./skeleton-CKwY1CoC.js";import{t as D}from"./transform-WCen521A.js";import f from"./NotFound-DzpdCi9I.js";import{u as M}from"./useDocumentTitle-CK4VxG11.js";import{e as Q}from"./pageTitles-CNuk5c2y.js";import"./PaperCard-BXiZHon_.js";import"./SotaBadges-GpZeMWYD.js";import"./colors-BkWRhvFI.js";import"./Icon-N8z7DeBC.js";import"./LatexTitle-CgJviprz.js";import"./safeExternalHref-CkBrsh84.js";import"./popover-DRgAhCdU.js";import"./useIntersectionObserver-CK36kpUi.js";import"./useInfiniteQuery-hVKCzcm1.js";import"./researchTopic-Dwh-aCTS.js";import"./useMutation-BhCRLa1t.js";import"./plus-Bou0iMb2.js";const E=({authorId:r})=>{var n,i,l,c,p,d,h,u,m;const o=w(),{searchParams:g}=o,e=N(k.author(r));M(((n=e.data)==null?void 0:n.full_name)&&Q(e.data.full_name));const s=L(v.list({author:r,...o.filters}),t=>$.list({...o.filters,author:r,page:t,page_size:12})),x=F.useMemo(()=>{var t;return(((t=s.data)==null?void 0:t.pages)??[]).flatMap(_=>_.results.map(D))},[s.data]),j=((l=(i=s.data)==null?void 0:i.pages[0])==null?void 0:l.count)??0;if(y(e.error))return a.jsx(f,{});if((c=e.data)!=null&&c.organization_slug){const t=g.toString();return a.jsx(A,{to:`/orgs/${e.data.organization_slug}${t?`?${t}`:""}`,replace:!0})}return a.jsxs("div",{className:"page",children:[a.jsxs("nav",{className:"breadcrumb","aria-label":"Breadcrumb",children:[a.jsx(P,{to:"/",children:"Home"}),a.jsx("span",{children:" / "}),a.jsx("span",{children:"Authors"}),a.jsx("span",{children:" / "}),a.jsx("span",{children:((p=e.data)==null?void 0:p.full_name)??r})]}),a.jsxs("header",{className:"author-hero",children:[a.jsx("div",{className:"organizations-eyebrow",children:"AUTHOR"}),a.jsxs("div",{className:"author-hero-title",children:[(d=e.data)!=null&&d.photo?a.jsxs("figure",{className:"author-photo",children:[a.jsx("img",{className:"author-avatar-base author-avatar",src:e.data.photo.url,alt:""}),a.jsxs("figcaption",{children:["Photo:"," ",a.jsx("a",{href:e.data.photo.source_url,target:"_blank",rel:"noopener noreferrer",children:e.data.photo.credit}),", ",e.data.photo.license_url?a.jsx("a",{href:e.data.photo.license_url,target:"_blank",rel:"noopener noreferrer",children:e.data.photo.license}):e.data.photo.license]})]}):((h=e.data)==null?void 0:h.hf_username)&&a.jsx(S,{className:"author-avatar",url:e.data.hf_avatar_url,href:`https://huggingface.co/${e.data.hf_username}`,label:`@${e.data.hf_username} on Hugging Face`}),a.jsx("h1",{className:"feed-title",children:((u=e.data)==null?void 0:u.full_name)??a.jsx(B,{className:"h-12 w-64 inline-block"})})]}),e.data&&a.jsxs("div",{className:"feed-subtitle",children:[e.data.paper_count.toLocaleString()," ",e.data.paper_count===1?"paper":"papers",e.data.hf_username&&a.jsxs(a.Fragment,{children:[" · ",a.jsxs("a",{href:`https://huggingface.co/${e.data.hf_username}`,target:"_blank",rel:"noopener noreferrer",children:["@",e.data.hf_username," on Hugging Face ↗"]})]}),e.data.google_scholar_id&&a.jsxs(a.Fragment,{children:[" · ",a.jsx("a",{href:`https://scholar.google.com/citations?user=${encodeURIComponent(e.data.google_scholar_id)}`,target:"_blank",rel:"noopener noreferrer",children:"Google Scholar ↗"})]})]}),e.data&&a.jsx(z,{kind:"author",entityId:e.data.id})]}),a.jsx(R,{feed:o,style:{alignItems:"center",gap:16},children:a.jsxs("div",{className:"results-count",children:[j.toLocaleString()," papers"]})}),s.error?a.jsx(C,{variant:"destructive",children:a.jsxs(H,{children:["Failed to load papers."," ",a.jsx("button",{type:"button",onClick:()=>void s.refetch(),children:"Try again"})]})}):a.jsx(T,{query:s,cards:x,empty:((m=e.data)==null?void 0:m.paper_count)===0?"No public papers are available.":"No papers found for this selection."})]})},pa=()=>{const{authorId:r}=b();return r?a.jsx(E,{authorId:r},r):a.jsx(f,{})};export{pa as default};
 
1
+ import{u as b,j as a,b as N,w as v,i as F,m as y,aN as A,L as P,M as k,B as $}from"./index-CrYWgAoM.js";import{A as S}from"./AuthorAvatar-Cn_8_omA.js";import{b as w,u as L,c as R,P as T}from"./usePapers-BPV2QuS7.js";import{R as z}from"./ResearchFollowButton-BCIfaLgE.js";import{A as C,a as H}from"./alert-BWfaZ9GT.js";import{S as B}from"./skeleton-CR7iZvat.js";import{t as D}from"./transform-CRzM_tWE.js";import f from"./NotFound-DDD3QkLQ.js";import{u as M}from"./useDocumentTitle-BLJX3S0V.js";import{e as Q}from"./pageTitles-DI-gHdpy.js";import"./PaperCard-CrdVyQE8.js";import"./SotaBadges-MTukWJ8b.js";import"./colors-BkWRhvFI.js";import"./Icon-BrPPGkYF.js";import"./LatexTitle-TFtKXSOA.js";import"./safeExternalHref-CkBrsh84.js";import"./popover-DfUABjJn.js";import"./useIntersectionObserver-CWHTKkKe.js";import"./useInfiniteQuery-B5y4jCiW.js";import"./researchTopic-BGjIaltV.js";import"./useMutation-CghM0QJV.js";import"./plus-BFsfRK33.js";const E=({authorId:r})=>{var n,i,l,c,p,d,h,u,m;const o=w(),{searchParams:g}=o,e=N(k.author(r));M(((n=e.data)==null?void 0:n.full_name)&&Q(e.data.full_name));const s=L(v.list({author:r,...o.filters}),t=>$.list({...o.filters,author:r,page:t,page_size:12})),x=F.useMemo(()=>{var t;return(((t=s.data)==null?void 0:t.pages)??[]).flatMap(_=>_.results.map(D))},[s.data]),j=((l=(i=s.data)==null?void 0:i.pages[0])==null?void 0:l.count)??0;if(y(e.error))return a.jsx(f,{});if((c=e.data)!=null&&c.organization_slug){const t=g.toString();return a.jsx(A,{to:`/orgs/${e.data.organization_slug}${t?`?${t}`:""}`,replace:!0})}return a.jsxs("div",{className:"page",children:[a.jsxs("nav",{className:"breadcrumb","aria-label":"Breadcrumb",children:[a.jsx(P,{to:"/",children:"Home"}),a.jsx("span",{children:" / "}),a.jsx("span",{children:"Authors"}),a.jsx("span",{children:" / "}),a.jsx("span",{children:((p=e.data)==null?void 0:p.full_name)??r})]}),a.jsxs("header",{className:"author-hero",children:[a.jsx("div",{className:"organizations-eyebrow",children:"AUTHOR"}),a.jsxs("div",{className:"author-hero-title",children:[(d=e.data)!=null&&d.photo?a.jsxs("figure",{className:"author-photo",children:[a.jsx("img",{className:"author-avatar-base author-avatar",src:e.data.photo.url,alt:""}),a.jsxs("figcaption",{children:["Photo:"," ",a.jsx("a",{href:e.data.photo.source_url,target:"_blank",rel:"noopener noreferrer",children:e.data.photo.credit}),", ",e.data.photo.license_url?a.jsx("a",{href:e.data.photo.license_url,target:"_blank",rel:"noopener noreferrer",children:e.data.photo.license}):e.data.photo.license]})]}):((h=e.data)==null?void 0:h.hf_username)&&a.jsx(S,{className:"author-avatar",url:e.data.hf_avatar_url,href:`https://huggingface.co/${e.data.hf_username}`,label:`@${e.data.hf_username} on Hugging Face`}),a.jsx("h1",{className:"feed-title",children:((u=e.data)==null?void 0:u.full_name)??a.jsx(B,{className:"h-12 w-64 inline-block"})})]}),e.data&&a.jsxs("div",{className:"feed-subtitle",children:[e.data.paper_count.toLocaleString()," ",e.data.paper_count===1?"paper":"papers",e.data.hf_username&&a.jsxs(a.Fragment,{children:[" · ",a.jsxs("a",{href:`https://huggingface.co/${e.data.hf_username}`,target:"_blank",rel:"noopener noreferrer",children:["@",e.data.hf_username," on Hugging Face ↗"]})]}),e.data.google_scholar_id&&a.jsxs(a.Fragment,{children:[" · ",a.jsx("a",{href:`https://scholar.google.com/citations?user=${encodeURIComponent(e.data.google_scholar_id)}`,target:"_blank",rel:"noopener noreferrer",children:"Google Scholar ↗"})]})]}),e.data&&a.jsx(z,{kind:"author",entityId:e.data.id})]}),a.jsx(R,{feed:o,style:{alignItems:"center",gap:16},children:a.jsxs("div",{className:"results-count",children:[j.toLocaleString()," papers"]})}),s.error?a.jsx(C,{variant:"destructive",children:a.jsxs(H,{children:["Failed to load papers."," ",a.jsx("button",{type:"button",onClick:()=>void s.refetch(),children:"Try again"})]})}):a.jsx(T,{query:s,cards:x,empty:((m=e.data)==null?void 0:m.paper_count)===0?"No public papers are available.":"No papers found for this selection."})]})},pa=()=>{const{authorId:r}=b();return r?a.jsx(E,{authorId:r},r):a.jsx(f,{})};export{pa as default};
assets/{AuthorizePaperEditView-DJGKbVT2.js → AuthorizePaperEditView-BOB-cTLQ.js} RENAMED
@@ -1 +1 @@
1
- import{u as o,a as u,b as d,p as l,j as e,L as c,H as p,c as h}from"./index-DL_JM2Ot.js";import{u as g}from"./useMutation-BhCRLa1t.js";import{B as x}from"./button-TvGRvG4J.js";function f(){const{authorizationId:i=""}=o(),{user:a,isLoading:n}=u(),t=d({...l.authorization(i),retry:!1}),r=g({mutationFn:()=>h.approve(i)}),s=t.data;return e.jsxs("section",{className:"mx-auto max-w-xl space-y-5 px-6 py-12",children:[e.jsx("h1",{className:"text-2xl font-semibold",children:"Authorize your agent to edit a paper"}),(t.isLoading||n)&&e.jsx("p",{children:"Loading authorization…"}),t.error&&e.jsx("p",{role:"alert",children:t.error.message}),s&&e.jsxs(e.Fragment,{children:[e.jsx(c,{className:"underline",to:`/paper/${s.paper_id}`,children:s.title}),e.jsxs("p",{children:["Check that your CLI shows this code: ",e.jsx("strong",{className:"font-mono",children:s.user_code})]}),e.jsx("p",{children:"Only approve a request you started. Your agent will be able to publish changes to this paper’s links, tags, and evaluation results for one hour, without further approval."}),e.jsx("p",{children:"Edits appear publicly under your Hugging Face username. You can edit up to 20 distinct papers per UTC day. Evaluation deletion and changes to shared benchmark definitions require an administrator."}),r.isSuccess||s.approved?e.jsx("p",{role:"status",children:"Access approved. Return to your CLI to continue."}):a?e.jsxs(e.Fragment,{children:[e.jsxs("p",{children:["Signed in as ",e.jsxs("strong",{children:["@",a.username]})]}),e.jsx(x,{disabled:r.isPending||!a.can_directly_edit_catalog,onClick:()=>r.mutate(),children:r.isPending?"Authorizing…":"Authorize for one hour"}),!a.can_directly_edit_catalog&&e.jsx("p",{children:"Direct editing is unavailable for this session."})]}):e.jsx(p,{returnTo:`/authorize-paper-edit/${i}`,label:"Sign in with Hugging Face"}),r.error&&e.jsx("p",{role:"alert",children:r.error.message})]})]})}export{f as default};
 
1
+ import{u as o,a as u,b as d,p as l,j as e,L as c,H as p,c as h}from"./index-CrYWgAoM.js";import{u as g}from"./useMutation-CghM0QJV.js";import{B as x}from"./button-DWQq9odL.js";function f(){const{authorizationId:i=""}=o(),{user:a,isLoading:n}=u(),t=d({...l.authorization(i),retry:!1}),r=g({mutationFn:()=>h.approve(i)}),s=t.data;return e.jsxs("section",{className:"mx-auto max-w-xl space-y-5 px-6 py-12",children:[e.jsx("h1",{className:"text-2xl font-semibold",children:"Authorize your agent to edit a paper"}),(t.isLoading||n)&&e.jsx("p",{children:"Loading authorization…"}),t.error&&e.jsx("p",{role:"alert",children:t.error.message}),s&&e.jsxs(e.Fragment,{children:[e.jsx(c,{className:"underline",to:`/paper/${s.paper_id}`,children:s.title}),e.jsxs("p",{children:["Check that your CLI shows this code: ",e.jsx("strong",{className:"font-mono",children:s.user_code})]}),e.jsx("p",{children:"Only approve a request you started. Your agent will be able to publish changes to this paper’s links, tags, and evaluation results for one hour, without further approval."}),e.jsx("p",{children:"Edits appear publicly under your Hugging Face username. You can edit up to 20 distinct papers per UTC day. Evaluation deletion and changes to shared benchmark definitions require an administrator."}),r.isSuccess||s.approved?e.jsx("p",{role:"status",children:"Access approved. Return to your CLI to continue."}):a?e.jsxs(e.Fragment,{children:[e.jsxs("p",{children:["Signed in as ",e.jsxs("strong",{children:["@",a.username]})]}),e.jsx(x,{disabled:r.isPending||!a.can_directly_edit_catalog,onClick:()=>r.mutate(),children:r.isPending?"Authorizing…":"Authorize for one hour"}),!a.can_directly_edit_catalog&&e.jsx("p",{children:"Direct editing is unavailable for this session."})]}):e.jsx(p,{returnTo:`/authorize-paper-edit/${i}`,label:"Sign in with Hugging Face"}),r.error&&e.jsx("p",{role:"alert",children:r.error.message})]})]})}export{f as default};
assets/{AutonomousOperations-uNS0X_ez.js → AutonomousOperations-BoDBu2Ao.js} RENAMED
@@ -1 +1 @@
1
- import{o as R,i as d,b as B,$ as A,j as e,L as q,ae as g}from"./index-DL_JM2Ot.js";import{u as Q}from"./useMutation-BhCRLa1t.js";import{C as i,e as n,S as H,b as l,c as r,t as E,f as m}from"./CronDashboard-Da_8NzAt.js";import{B as I}from"./badge-CmRkIQyK.js";import{B as x}from"./button-TvGRvG4J.js";import{I as h}from"./input-CJSZmrSu.js";import{A as P}from"./activity-DFBWkfMu.js";import{A as $}from"./arrow-left-C4iqM9DK.js";const u={submissions:"Submission review",curation:"Scheduled curation",cron_health:"CRON health",chat_reliability:"Chat reliability"},S={healthy:"healthy",degraded:"degraded",repairing:"running","rolled-back":"broken",manual:"degraded"},V=()=>{var C;const M=R(),[j,T]=d.useState(""),[p,_]=d.useState(""),[f,v]=d.useState({}),[b,N]=d.useState(""),c=B({...A.autonomousOperations(),refetchInterval:3e4,retry:!1}),t=Q({mutationFn:s=>s(),onSuccess:s=>{M.setQueryData(A.autonomousOperations().queryKey,s),_(""),v({}),N("")}}),a=c.data,y=t.error instanceof Error?t.error.message:null;if(c.isLoading)return e.jsx("div",{className:"page","aria-busy":"true",children:"Loading autonomous operations…"});if(c.error||!a)return e.jsxs("div",{className:"page",children:[e.jsx("h1",{children:"Autonomous operations unavailable"}),e.jsx("p",{children:c.error instanceof Error?c.error.message:"No status was returned."})]});const O=()=>t.mutate(()=>g.setAutonomousManualMode(!a.manual_mode,a.revision,p)),k=(s,o)=>t.mutate(()=>g.setAutonomousOperator(s,o,a.revision,f[s]??"")),w=()=>{var o;const s=((o=a.baseline)==null?void 0:o.revision)??0;t.mutate(()=>g.qualifyAutonomousChatBaseline(j,s,b))};return e.jsx("div",{className:"cron-dashboard","data-shadcn":!0,children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8 space-y-6",children:[e.jsxs("div",{className:"flex items-center justify-between gap-4 flex-wrap",children:[e.jsxs("div",{children:[e.jsxs("h1",{className:"text-3xl font-bold flex items-center gap-3",children:[e.jsx(P,{className:"h-8 w-8"}),"Autonomous operations"]}),e.jsx("p",{className:"mt-2 cron-muted",children:"Content-free supervision, remote controls, and bounded audit history."})]}),e.jsx(x,{asChild:!0,variant:"outline",children:e.jsxs(q,{to:"/admin-dashboard",children:[e.jsx($,{className:"h-4 w-4 mr-2"}),"Admin dashboard"]})})]}),a.manual_mode&&e.jsx(i,{className:"cron-status--degraded",role:"status",children:e.jsxs(n,{className:"pt-6 flex gap-3",children:[e.jsx(H,{className:"h-5 w-5"}),e.jsxs("div",{children:[e.jsx("strong",{children:"Manual mode is enabled."}),e.jsxs("p",{children:[a.monitoring_active?"Monitoring remains active":"Monitoring is not currently verified","; autonomous callbacks, retries, deployments, and data mutations fail closed."]})]})]})}),e.jsxs("div",{className:"grid md:grid-cols-4 gap-4",children:[e.jsxs(i,{className:E(S[a.display_state]),children:[e.jsx(l,{children:e.jsx(r,{className:"text-sm",children:"Overall state"})}),e.jsxs(n,{children:[e.jsx("div",{className:"text-2xl font-bold capitalize",children:a.display_state}),e.jsxs("p",{className:"text-sm",children:["Monitoring ",a.monitoring_active?"active":"inactive"]})]})]}),e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{className:"text-sm",children:"Codex cost"})}),e.jsxs(n,{children:[e.jsxs("div",{className:"text-2xl font-bold",children:["$",a.costs.total_usd]}),e.jsxs("p",{className:"text-sm",children:[a.costs.input_tokens+a.costs.output_tokens," tokens"]})]})]}),e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{className:"text-sm",children:"Repair lease"})}),e.jsxs(n,{children:[e.jsx("div",{className:"text-lg font-bold",children:a.active_lease?a.active_lease.owner_operator:"Available"}),e.jsx("p",{className:"text-sm",children:a.active_lease?`Expires ${m(a.active_lease.expires_at)}`:"No active source repair"})]})]}),e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{className:"text-sm",children:"Global control"})}),e.jsxs(n,{className:"space-y-2",children:[e.jsx(h,{"aria-label":"Manual mode confirmation",value:p,onChange:s=>_(s.target.value),placeholder:"Type SET_MANUAL_MODE"}),e.jsx(x,{disabled:t.isPending||p!=="SET_MANUAL_MODE",onClick:O,children:a.manual_mode?"Leave manual mode":"Enable manual mode"})]})]})]}),e.jsx("div",{className:"grid md:grid-cols-4 gap-4",children:a.operators.map(s=>e.jsxs(i,{className:E(S[s.status]),children:[e.jsx(l,{children:e.jsxs(r,{className:"flex justify-between gap-2",children:[e.jsx("span",{children:u[s.operator]}),e.jsx(I,{children:s.status})]})}),e.jsxs(n,{className:"space-y-3",children:[e.jsxs("p",{children:[s.enabled?"Mutation enabled":"Mutation disabled"," · monitoring ",s.monitoring_active?"active":"unverified"]}),e.jsxs("p",{className:"text-sm",children:["Next scheduled run: ",s.next_scheduled_run?m(s.next_scheduled_run):"not scheduled"]}),e.jsx(h,{"aria-label":`${u[s.operator]} confirmation`,value:f[s.operator]??"",onChange:o=>v(L=>({...L,[s.operator]:o.target.value})),placeholder:"Type SET_OPERATOR_STATE"}),e.jsx(x,{disabled:t.isPending||a.manual_mode&&!s.enabled||f[s.operator]!=="SET_OPERATOR_STATE",onClick:()=>k(s.operator,!s.enabled),children:s.enabled?"Disable":"Enable"})]})]},s.operator))}),e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{children:"Qualified scalable-chat baseline"})}),e.jsxs(n,{className:"space-y-3",children:[e.jsx("p",{className:"font-mono break-all",children:((C=a.baseline)==null?void 0:C.sha)??"No baseline qualified"}),a.baseline&&e.jsxs("p",{className:"text-sm",children:["Revision ",a.baseline.revision," · ",a.baseline.qualified_by," · ",m(a.baseline.qualified_at)]}),e.jsxs("div",{className:"grid md:grid-cols-[1fr_1fr_auto] gap-2",children:[e.jsx(h,{"aria-label":"Exact baseline SHA",value:j,onChange:s=>T(s.target.value),placeholder:"40-character lowercase commit SHA"}),e.jsx(h,{"aria-label":"Baseline confirmation",value:b,onChange:s=>N(s.target.value),placeholder:"Type QUALIFY_CHAT_BASELINE"}),e.jsx(x,{disabled:t.isPending||!/^[0-9a-f]{40}$/.test(j)||b!=="QUALIFY_CHAT_BASELINE",onClick:w,children:"Qualify exact SHA"})]})]})]}),e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{children:"Provider and fallback state"})}),e.jsx(n,{children:a.provider_states.length?e.jsx("ul",{className:"space-y-2",children:a.provider_states.map(s=>e.jsxs("li",{children:[e.jsx("strong",{children:s.environment}),": ",s.active_provider," · ",s.reason_code," · manifest ",s.manifest_revision]},s.environment))}):e.jsx("p",{children:"No provider state recorded."})})]}),e.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{children:"Recent runs"})}),e.jsx(n,{children:a.recent_runs.length?e.jsx("ul",{className:"space-y-2",children:a.recent_runs.map(s=>e.jsxs("li",{children:[e.jsx("strong",{children:u[s.operator]})," · ",s.status," · ",s.exit_classification," · $",s.cost_usd," · ",m(s.created_at)]},s.run_id))}):e.jsx("p",{children:"No runs recorded."})})]}),e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{children:"Recent actions"})}),e.jsx(n,{children:a.recent_actions.length?e.jsx("ul",{className:"space-y-2",children:a.recent_actions.map(s=>e.jsxs("li",{children:[e.jsx("strong",{children:u[s.operator]})," · ",s.capability," · ",s.reason_code," · ",s.resource_kind,"/",s.resource_identifier]},s.action_id))}):e.jsx("p",{children:"No actions recorded."})})]})]}),e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{children:"Hard exclusions"})}),e.jsx(n,{children:e.jsx("ul",{className:"list-disc pl-5",children:a.exclusions.map(s=>e.jsx("li",{children:s},s))})})]}),y&&e.jsxs("p",{role:"alert",children:["Control update failed: ",y,". Refresh before retrying."]})]})})};export{V as default};
 
1
+ import{o as R,i as d,b as B,$ as A,j as e,L as q,ae as g}from"./index-CrYWgAoM.js";import{u as Q}from"./useMutation-CghM0QJV.js";import{C as i,e as n,S as H,b as l,c as r,t as E,f as m}from"./CronDashboard-Bu3MjRtq.js";import{B as I}from"./badge-D7e99giJ.js";import{B as x}from"./button-DWQq9odL.js";import{I as h}from"./input-BUWCvGLt.js";import{A as P}from"./activity-DtoovMHc.js";import{A as $}from"./arrow-left-DAqylKH-.js";const u={submissions:"Submission review",curation:"Scheduled curation",cron_health:"CRON health",chat_reliability:"Chat reliability"},S={healthy:"healthy",degraded:"degraded",repairing:"running","rolled-back":"broken",manual:"degraded"},V=()=>{var C;const M=R(),[j,T]=d.useState(""),[p,_]=d.useState(""),[f,v]=d.useState({}),[b,N]=d.useState(""),c=B({...A.autonomousOperations(),refetchInterval:3e4,retry:!1}),t=Q({mutationFn:s=>s(),onSuccess:s=>{M.setQueryData(A.autonomousOperations().queryKey,s),_(""),v({}),N("")}}),a=c.data,y=t.error instanceof Error?t.error.message:null;if(c.isLoading)return e.jsx("div",{className:"page","aria-busy":"true",children:"Loading autonomous operations…"});if(c.error||!a)return e.jsxs("div",{className:"page",children:[e.jsx("h1",{children:"Autonomous operations unavailable"}),e.jsx("p",{children:c.error instanceof Error?c.error.message:"No status was returned."})]});const O=()=>t.mutate(()=>g.setAutonomousManualMode(!a.manual_mode,a.revision,p)),k=(s,o)=>t.mutate(()=>g.setAutonomousOperator(s,o,a.revision,f[s]??"")),w=()=>{var o;const s=((o=a.baseline)==null?void 0:o.revision)??0;t.mutate(()=>g.qualifyAutonomousChatBaseline(j,s,b))};return e.jsx("div",{className:"cron-dashboard","data-shadcn":!0,children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8 space-y-6",children:[e.jsxs("div",{className:"flex items-center justify-between gap-4 flex-wrap",children:[e.jsxs("div",{children:[e.jsxs("h1",{className:"text-3xl font-bold flex items-center gap-3",children:[e.jsx(P,{className:"h-8 w-8"}),"Autonomous operations"]}),e.jsx("p",{className:"mt-2 cron-muted",children:"Content-free supervision, remote controls, and bounded audit history."})]}),e.jsx(x,{asChild:!0,variant:"outline",children:e.jsxs(q,{to:"/admin-dashboard",children:[e.jsx($,{className:"h-4 w-4 mr-2"}),"Admin dashboard"]})})]}),a.manual_mode&&e.jsx(i,{className:"cron-status--degraded",role:"status",children:e.jsxs(n,{className:"pt-6 flex gap-3",children:[e.jsx(H,{className:"h-5 w-5"}),e.jsxs("div",{children:[e.jsx("strong",{children:"Manual mode is enabled."}),e.jsxs("p",{children:[a.monitoring_active?"Monitoring remains active":"Monitoring is not currently verified","; autonomous callbacks, retries, deployments, and data mutations fail closed."]})]})]})}),e.jsxs("div",{className:"grid md:grid-cols-4 gap-4",children:[e.jsxs(i,{className:E(S[a.display_state]),children:[e.jsx(l,{children:e.jsx(r,{className:"text-sm",children:"Overall state"})}),e.jsxs(n,{children:[e.jsx("div",{className:"text-2xl font-bold capitalize",children:a.display_state}),e.jsxs("p",{className:"text-sm",children:["Monitoring ",a.monitoring_active?"active":"inactive"]})]})]}),e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{className:"text-sm",children:"Codex cost"})}),e.jsxs(n,{children:[e.jsxs("div",{className:"text-2xl font-bold",children:["$",a.costs.total_usd]}),e.jsxs("p",{className:"text-sm",children:[a.costs.input_tokens+a.costs.output_tokens," tokens"]})]})]}),e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{className:"text-sm",children:"Repair lease"})}),e.jsxs(n,{children:[e.jsx("div",{className:"text-lg font-bold",children:a.active_lease?a.active_lease.owner_operator:"Available"}),e.jsx("p",{className:"text-sm",children:a.active_lease?`Expires ${m(a.active_lease.expires_at)}`:"No active source repair"})]})]}),e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{className:"text-sm",children:"Global control"})}),e.jsxs(n,{className:"space-y-2",children:[e.jsx(h,{"aria-label":"Manual mode confirmation",value:p,onChange:s=>_(s.target.value),placeholder:"Type SET_MANUAL_MODE"}),e.jsx(x,{disabled:t.isPending||p!=="SET_MANUAL_MODE",onClick:O,children:a.manual_mode?"Leave manual mode":"Enable manual mode"})]})]})]}),e.jsx("div",{className:"grid md:grid-cols-4 gap-4",children:a.operators.map(s=>e.jsxs(i,{className:E(S[s.status]),children:[e.jsx(l,{children:e.jsxs(r,{className:"flex justify-between gap-2",children:[e.jsx("span",{children:u[s.operator]}),e.jsx(I,{children:s.status})]})}),e.jsxs(n,{className:"space-y-3",children:[e.jsxs("p",{children:[s.enabled?"Mutation enabled":"Mutation disabled"," · monitoring ",s.monitoring_active?"active":"unverified"]}),e.jsxs("p",{className:"text-sm",children:["Next scheduled run: ",s.next_scheduled_run?m(s.next_scheduled_run):"not scheduled"]}),e.jsx(h,{"aria-label":`${u[s.operator]} confirmation`,value:f[s.operator]??"",onChange:o=>v(L=>({...L,[s.operator]:o.target.value})),placeholder:"Type SET_OPERATOR_STATE"}),e.jsx(x,{disabled:t.isPending||a.manual_mode&&!s.enabled||f[s.operator]!=="SET_OPERATOR_STATE",onClick:()=>k(s.operator,!s.enabled),children:s.enabled?"Disable":"Enable"})]})]},s.operator))}),e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{children:"Qualified scalable-chat baseline"})}),e.jsxs(n,{className:"space-y-3",children:[e.jsx("p",{className:"font-mono break-all",children:((C=a.baseline)==null?void 0:C.sha)??"No baseline qualified"}),a.baseline&&e.jsxs("p",{className:"text-sm",children:["Revision ",a.baseline.revision," · ",a.baseline.qualified_by," · ",m(a.baseline.qualified_at)]}),e.jsxs("div",{className:"grid md:grid-cols-[1fr_1fr_auto] gap-2",children:[e.jsx(h,{"aria-label":"Exact baseline SHA",value:j,onChange:s=>T(s.target.value),placeholder:"40-character lowercase commit SHA"}),e.jsx(h,{"aria-label":"Baseline confirmation",value:b,onChange:s=>N(s.target.value),placeholder:"Type QUALIFY_CHAT_BASELINE"}),e.jsx(x,{disabled:t.isPending||!/^[0-9a-f]{40}$/.test(j)||b!=="QUALIFY_CHAT_BASELINE",onClick:w,children:"Qualify exact SHA"})]})]})]}),e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{children:"Provider and fallback state"})}),e.jsx(n,{children:a.provider_states.length?e.jsx("ul",{className:"space-y-2",children:a.provider_states.map(s=>e.jsxs("li",{children:[e.jsx("strong",{children:s.environment}),": ",s.active_provider," · ",s.reason_code," · manifest ",s.manifest_revision]},s.environment))}):e.jsx("p",{children:"No provider state recorded."})})]}),e.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{children:"Recent runs"})}),e.jsx(n,{children:a.recent_runs.length?e.jsx("ul",{className:"space-y-2",children:a.recent_runs.map(s=>e.jsxs("li",{children:[e.jsx("strong",{children:u[s.operator]})," · ",s.status," · ",s.exit_classification," · $",s.cost_usd," · ",m(s.created_at)]},s.run_id))}):e.jsx("p",{children:"No runs recorded."})})]}),e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{children:"Recent actions"})}),e.jsx(n,{children:a.recent_actions.length?e.jsx("ul",{className:"space-y-2",children:a.recent_actions.map(s=>e.jsxs("li",{children:[e.jsx("strong",{children:u[s.operator]})," · ",s.capability," · ",s.reason_code," · ",s.resource_kind,"/",s.resource_identifier]},s.action_id))}):e.jsx("p",{children:"No actions recorded."})})]})]}),e.jsxs(i,{children:[e.jsx(l,{children:e.jsx(r,{children:"Hard exclusions"})}),e.jsx(n,{children:e.jsx("ul",{className:"list-disc pl-5",children:a.exclusions.map(s=>e.jsx("li",{children:s},s))})})]}),y&&e.jsxs("p",{role:"alert",children:["Control update failed: ",y,". Refresh before retrying."]})]})})};export{V as default};
assets/{BenchmarkDetailView-D6qZ3lao.js → BenchmarkDetailView-C5nz6Xbj.js} RENAMED
@@ -1,2 +1,2 @@
1
- import{i as F,j as a,a3 as ce,L as le,n as ct,J as dt,u as mt,f as ut,b as te,K as ht,v as se}from"./index-DL_JM2Ot.js";import{R as ft}from"./ResearchFollowButton-g73yztEC.js";import{u as pt}from"./preferences-DZkWR9pP.js";import{L as de}from"./LatexTitle-CgJviprz.js";import{C as gt,E as xt}from"./ExternalSourceEvalBadge-B05mXvbN.js";import{S as Qe}from"./switch-DaSJHMgf.js";import{I as bt}from"./Icon-N8z7DeBC.js";import{S as me}from"./skeleton-CKwY1CoC.js";import{B as yt}from"./BenchmarkTrendSparkline-C8X1e25R.js";import{s as wt}from"./safeExternalHref-CkBrsh84.js";import{s as vt}from"./slug-BpH-Nkvz.js";import jt from"./NotFound-DzpdCi9I.js";import{l as St}from"./LoadFailurePage-BY9gZYyL.js";import{u as _t}from"./useDocumentTitle-CK4VxG11.js";import{b as kt}from"./pageTitles-CNuk5c2y.js";import"./researchTopic-Dwh-aCTS.js";import"./useMutation-BhCRLa1t.js";import"./plus-Bou0iMb2.js";import"./hover-card-9NlCSWPH.js";import"./index-Dr5kpJ2J.js";import"./alert-BAtahhuM.js";function oe(e){if(e==null)return null;if(typeof e=="number")return Number.isFinite(e)?e:null;const t=e.includes("±")?e.split("±")[0].trim():e.trim(),r=parseFloat(t);return Number.isFinite(r)?r:null}const Xe=[{label:"All",maxParametersExclusive:void 0},{label:"<10M",maxParametersExclusive:1e7},{label:"<100M",maxParametersExclusive:1e8},{label:"<1B",maxParametersExclusive:1e9},{label:"<3B",maxParametersExclusive:3e9},{label:"<6B",maxParametersExclusive:6e9},{label:"<12B",maxParametersExclusive:12e9},{label:"<32B",maxParametersExclusive:32e9},{label:"<128B",maxParametersExclusive:128e9},{label:"<500B",maxParametersExclusive:5e11}];function Ct(e){const t=e===null?void 0:Number(e);return Xe.some(r=>r.maxParametersExclusive===t)?t:void 0}function Et(e){return new Intl.NumberFormat("en",{notation:"compact",maximumSignificantDigits:3}).format(e)}function Nt(e){return[e.paper_id,e.task_id,e.dataset_id,e.model_name,e.harness??""].join("|")}function Rt(e){const t=new Map;for(const r of e){const s=Nt(r),n=t.get(s);if(!n){t.set(s,{...r,metrics:{...r.metrics||{}},sourceEvaluationIds:[r.id],ranksByMetric:r.best_metric&&r.best_rank!=null?{[r.best_metric]:r.best_rank}:{},parameterCount:r.num_parameters??null,hasParameterConflict:!1});continue}n.metrics={...n.metrics,...r.metrics||{}},n.sourceEvaluationIds.push(r.id),r.best_metric&&r.best_rank!=null&&(n.ranksByMetric[r.best_metric]=r.best_rank),r.num_parameters!=null&&!n.hasParameterConflict&&(n.parameterCount===null?n.parameterCount=r.num_parameters:n.parameterCount!==r.num_parameters&&(n.parameterCount=null,n.hasParameterConflict=!0))}return Array.from(t.values())}function Fe(e,t){return t===void 0?e:e.filter(r=>r.parameterCount!==null&&r.parameterCount<t)}function Pt(e,t){return t?e.id===t||e.sourceEvaluationIds.includes(t):!1}function Ie(e,t){return e.ranksByMetric[t]??e.best_rank??9999}function Mt(e){const t=Date.parse(e);return Number.isNaN(t)?"":new Date(t).toISOString().slice(0,10)}function $t(e){const t=new Map;for(const s of e)s.evaluated_on&&t.set(s.evaluated_on,(t.get(s.evaluated_on)??0)+1);const r=Array.from(t.values()).reduce((s,n)=>s+n,0);for(const[s,n]of t)if(n>=2&&n*2>r)return s;return null}function Tt(e,t){const r=e.evaluated_on;return r&&r!==t&&r!==Mt(e.updated_at)?r:e.paper_published_date||""}function Lt(e,t,r){if(e.length===0)return{points:[],sota:0,sotaModel:""};const s=$t(e),n=e.map(h=>{var j;const m=oe((j=h.metrics)==null?void 0:j[t]);return{eval:h,value:m,date:Tt(h,s)}}).filter(h=>h.value!==null&&!!h.date).sort((h,m)=>h.date.localeCompare(m.date)),i=[];let l=null;for(const h of n){const m=l==null?!0:r==="↓"?h.value<l:h.value>l;m&&(l=h.value),i.push({value:h.value,date:h.date,dateLabel:h.date.slice(0,7),modelName:h.eval.model_name||"",paperTitle:h.eval.paper_title||"",paperRouteId:h.eval.paper_arxiv_id||h.eval.paper_id||null,isSota:m})}const o=e.map(h=>{var m;return{eval:h,value:oe((m=h.metrics)==null?void 0:m[t])}}).filter(h=>h.value!==null).sort((h,m)=>r==="↓"?h.value-m.value:m.value-h.value)[0],f=(o==null?void 0:o.value)??0,p=(o==null?void 0:o.eval.model_name)||(o==null?void 0:o.eval.paper_title)||"";return{points:i,sota:f,sotaModel:p}}function Ft(e,t,r){const s=t?(e??[]).filter(l=>l.task_id===t):e??[],n=s.filter(l=>l.is_open===!1),i=n.reduce((l,d)=>l?(d.best_rank??Number.POSITIVE_INFINITY)<(l.best_rank??Number.POSITIVE_INFINITY)?d:l:d,null);return{visible:r?s.filter(l=>l.is_open!==!1):s,hiddenClosed:n,topHiddenClosed:i}}function Ke(e,t,r,s){const n=t.find(i=>i.id===s);if(e.length===0)return null;if(n!=null&&n.task_id&&e.some(i=>i.id===n.task_id))return n.task_id;if(r){const i=e.find(l=>l.slug===r);if(i)return i.id}if(e.length===1)return e[0].id;if(t.length>0){const i=new Map;for(const o of t)i.set(o.task_id,(i.get(o.task_id)||0)+1);let l=null,d=-1;for(const o of e){const f=i.get(o.id)||0;f>d&&(d=f,l=o.id)}if(l)return l}return e[0].id}function It(e){var X,k,K;const{evaluations:t,tasks:r,taskSlug:s,highlightEvalId:n,parameterBound:i,showMoreMetrics:l,fittingMetricCount:d=1}=e,o=Ke(r,t,s,n),f=r.find(x=>x.id===o)||r[0]||null,p=t.find(x=>x.id===n),h=Ft(t,o,e.hideClosed),m=Rt(h.visible),j=Fe(m,i),I=e.configuredMetrics.map(x=>x.metric_name),$=Array.from(new Set(m.flatMap(x=>[...x.best_metric?[x.best_metric]:[],...Object.keys(x.metrics||{})]))),_=I.length?I:$,T=new Map;for(const x of m){const c=x.best_metric;!c||oe(x.metrics[c])===null||I.length&&!_.includes(c)||T.set(c,(T.get(c)||0)+1)}const v=((X=[...T].sort((x,c)=>c[1]-x[1])[0])==null?void 0:X[0])||_[0]||"",y=_.find(x=>{var c;return x.toLocaleLowerCase()===((c=e.metric)==null?void 0:c.trim().toLocaleLowerCase())})||(p==null?void 0:p.best_metric)||v,O=((k=e.directions)==null?void 0:k.directions[y])==="lower_is_better"?"↓":"↑",U=y&&_.includes(y)?[y,..._.filter(x=>x!==y)]:_,G=U.length?l?U:U.slice(0,Math.max(1,d)):y?[y]:[],w=j.slice().sort((x,c)=>{const u=oe(x.metrics[y]),g=oe(c.metrics[y]);return u!==null&&g!==null?O==="↓"?u-g:g-u:u!==null?-1:g!==null?1:Ie(x,y)-Ie(c,y)});let W=null,A=0;const D=w.map((x,c)=>{const u=oe(x.metrics[y]);return u!==null&&u!==W&&(W=u,A=c+1),{evaluation:x,rank:u===null?null:A,isHighlighted:Pt(x,n)}}),{points:J,sota:Q,sotaModel:Z}=Lt(j,y,O),C=i===void 0?e.initialSummary:void 0,z=e.ready.evaluations&&e.ready.tasks&&e.ready.directions&&(!o||e.ready.metrics),ee={parameter_coverage_known:m.filter(x=>x.parameterCount!==null).length,parameter_coverage_total:m.length};return{currentTaskId:o,primaryTask:f,activeMetric:y,arrow:O,allowedMetrics:_,orderedMetrics:U,visibleMetrics:G,rows:D,chartPoints:J,highlightedEval:((K=D.find(x=>x.isHighlighted))==null?void 0:K.evaluation)||null,hiddenClosedEvals:h.hiddenClosed,hiddenClosedTopEval:h.topHiddenClosed,parameterBound:i,parameterCoverage:ee,hasParameterMetadata:ee.parameter_coverage_known>0,parameterFilters:Xe.map(x=>({...x,selected:i===x.maxParametersExclusive,disabled:i!==x.maxParametersExclusive&&Fe(m,x.maxParametersExclusive).length===0})),displayedMetric:z?y:C==null?void 0:C.metric,displayedSota:z?Q:C==null?void 0:C.value,displayedSotaModel:z?Z:C==null?void 0:C.model_name,isSummaryLoading:!z&&!C,isInitialFilteredViewLoading:i!==void 0&&!z}}function At(e,t,r,s=1,n=0){const i=e-t.fixed-(r?t.harness:0);if(t.metric<=0)return 1;const l=Math.floor(i/t.metric);if(l<s)return Math.max(1,l);const d=Math.floor((i-n)/t.metric);return Math.max(1,s,d)}function pe(e,t){return parseFloat(e.getPropertyValue(t))||0}function Bt(e){const t=getComputedStyle(e);return{fixed:["--bm-rank-width","--bm-model-width","--bm-parameters-width","--bm-paper-width","--bm-year-width"].reduce((r,s)=>r+pe(t,s),0),harness:pe(t,"--bm-harness-width"),metric:pe(t,"--bm-metric-width")}}const Dt=20;function Ae(e,t){return e?a.jsx(de,{title:e}):t||"—"}function Ht({datasetName:e,model:t,showHarness:r,setMetric:s,highlightRowRef:n,onFittingMetricCountChange:i}){const{rows:l,visibleMetrics:d,activeMetric:o,arrow:f}=t,[p,h]=F.useState(null);return F.useEffect(()=>{if(!p)return;const m=()=>{p.classList.toggle("has-horizontal-overflow",p.scrollWidth>p.clientWidth);const I=p.firstElementChild;if(!I)return;const $=p.clientWidth,_=Bt(I);p.classList.toggle("unpins-trailing-columns",$<_.fixed+_.metric);const T=document.documentElement,v=T.scrollHeight>T.clientHeight?0:Dt;i(N=>At($,_,r,N,v))},j=new ResizeObserver(m);return j.observe(p),p.firstElementChild&&j.observe(p.firstElementChild),m(),()=>j.disconnect()},[p,r,i]),a.jsx("div",{ref:h,className:"bm-table-scroll",role:"region","aria-label":`${e} leaderboard`,tabIndex:0,children:a.jsxs("table",{id:"benchmark-leaderboard",className:"bm-table",style:{"--bm-metric-count":d.length,"--bm-harness-count":r?1:0},children:[a.jsxs("caption",{className:"sr-only",children:[e," leaderboard"]}),a.jsxs("colgroup",{children:[a.jsx("col",{className:"bm-width-rank"}),a.jsx("col",{className:"bm-width-model"}),a.jsx("col",{className:"bm-width-parameters"}),r&&a.jsx("col",{className:"bm-width-harness"}),d.map(m=>a.jsx("col",{className:"bm-width-metric"},m)),a.jsx("col",{}),a.jsx("col",{className:"bm-width-year"})]}),a.jsx("thead",{children:a.jsxs("tr",{children:[a.jsx("th",{className:"col-rank",children:"Rank"}),a.jsx("th",{className:"col-model",children:"Model"}),a.jsxs("th",{className:"col-parameters",children:[a.jsx("span",{className:"bm-label-full",children:"Parameters"}),a.jsx("span",{className:"bm-label-short",children:"Params"})]}),r&&a.jsx("th",{className:"col-harness",children:"Harness"}),d.map(m=>{const j=m===o;return a.jsx("th",{className:`col-value ${j?"is-active":""}`,"aria-sort":j?f==="↓"?"ascending":"descending":"none",children:a.jsxs("button",{type:"button",className:"bm-metric-header",onClick:()=>s(m),"aria-pressed":j,title:`Sort by ${m}`,children:[m,j?` ${f}`:""]})},m)}),a.jsx("th",{className:"col-paper",children:"Paper"}),a.jsx("th",{className:"col-year",children:"Year"})]})}),a.jsx("tbody",{children:l.map(({evaluation:m,rank:j,isHighlighted:I})=>{var T;const $=m.paper_arxiv_id||m.paper_id,_=m.paper_title||(m.paper_arxiv_id?`arXiv:${m.paper_arxiv_id}`:null);return a.jsxs("tr",{ref:I?n:void 0,className:I?"is-highlighted":void 0,children:[a.jsx("td",{className:"col-rank",children:j??"—"}),a.jsxs("td",{className:"col-model",children:[I&&a.jsx("span",{className:"bm-row-marker","aria-hidden":"true"}),m.hf_model_url?a.jsx("a",{href:m.hf_model_url,target:"_blank",rel:"noopener noreferrer",className:"bm-model-link",title:`Open ${m.model_name||"model"} on Hugging Face`,children:m.model_name||"—"}):m.model_name||"—",m.is_open===!1&&a.jsx(gt,{}),(m.external??m.is_external)&&a.jsx(xt,{sourceUrl:m.source_url||m.external_source_url||m.result_url})]}),a.jsx("td",{className:"col-parameters",title:m.parameterCount===null?void 0:m.parameterCount.toLocaleString("en-US"),"aria-label":m.parameterCount===null?"Parameters unknown":`${m.parameterCount.toLocaleString("en-US")} parameters`,children:m.parameterCount===null?"—":Et(m.parameterCount)}),r&&a.jsx("td",{className:"col-harness",children:m.harness||"—"}),d.map(v=>{var O;const N=v===o,y=(O=m.metrics)==null?void 0:O[v];return a.jsx("td",{className:`col-value${N?" is-active":""}${N&&j===1?" is-best":""}`,children:y!=null&&y!==""?ce(y):"—"},v)}),a.jsx("td",{className:"col-paper",children:$?a.jsx(le,{to:`/paper/${$}`,title:m.paper_title||_||void 0,children:Ae(m.paper_title,_)}):Ae(m.paper_title,_)}),a.jsx("td",{className:"col-year",children:((T=m.evaluated_on||m.paper_published_date)==null?void 0:T.slice(0,4))||"—"})]},m.id)})})]})})}function Be(e){const t=e.length===7?`${e}-01`:e,r=new Date(t).getTime();return Number.isFinite(r)?r:0}const ge=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function xe(e){const t=new Date(e);return{year:t.getFullYear(),month:t.getMonth()}}function Vt(e,t){if(e===t){const{year:o,month:f}=xe(e);return[{timestamp:new Date(o,f,1).getTime(),key:`${o}-${f}`,label:`${ge[f]} ${o}`}]}const r=xe(e),s=xe(t);if(r.year===s.year){const o=s.month-r.month+1;let f=1;const p=12;o>p&&(f=Math.ceil(o/p));const h=[];for(let m=r.month;m<=s.month;m+=f)h.push({timestamp:new Date(r.year,m,1).getTime(),key:`${r.year}-${m}`,label:o<=3?`${ge[m]} ${r.year}`:ge[m]});return h}const n=s.year-r.year+1;let i=1;const l=12;n>l&&(i=Math.ceil(n/l));const d=[];for(let o=r.year;o<=s.year;o+=i)d.push({timestamp:new Date(o,0,1).getTime(),key:String(o),label:String(o)});return d}const Ot=({points:e,metric:t})=>{const r=ct(),[s,n]=F.useState(null),i=`${F.useId()}-label-halo`,l=880,d=320,o=60,f=30,p=40,h=50,m=e.map(c=>c.value),j=Math.min(...m),$=Math.max(...m)-j||1,_=l-o-f,T=d-p-h,v=e.map(c=>Be(c.date)),N=Math.min(...v),y=Math.max(...v),O=y-N||1,U=c=>N===y?o+_/2:o+(c-N)/O*_,G=e.map((c,u)=>{const g=U(Be(c.date)),E=(c.value-j)/$,L=p+T*(1-E);return{x:g,y:L,data:c,idx:u}}),w=G.filter(c=>c.data.isSota);let W="";if(w.length>=2){W=`M${w[0].x},${w[0].y}`;for(let c=1;c<w.length;c++){const u=w[c-1],g=w[c],E=(u.x+g.x)/2;W+=` C${E},${u.y} ${E},${g.y} ${g.x},${g.y}`}}const A=5.4,D=8,J=9,Q=c=>{const u=c.data.modelName||c.data.paperTitle||"";if(!u)return null;const g=u.length>22?u.slice(0,21)+"…":u,E=g.length*A;let L=c.x-E/2,P=c.x+E/2,H="middle";return L<o?(L=o,P=o+E,H="start"):P>l-f&&(P=l-f,L=P-E,H="end"),{x:H==="start"?o:H==="end"?l-f:c.x,y:c.y-J,text:g,anchor:H,left:L,right:P}},Z=[],C=w.length>0?Q(w[w.length-1]):null;let z=-1/0;for(let c=0;c<w.length-1;c++){const u=Q(w[c]);u&&(u.left<z+D||C&&u.right>C.left-D||(z=u.right,Z.push({x:u.x,y:u.y,text:u.text,anchor:u.anchor})))}C&&Z.push({x:C.x,y:C.y,text:C.text,anchor:C.anchor});const ee=Vt(N,y),X=5,k=c=>n(u=>u===c?null:u),K=c=>{c&&r(`/paper/${c}`)},x=(c,u)=>{const E=`${c.data.modelName||c.data.paperTitle||"Unknown model"}: ${ce(c.data.value)} on ${c.data.dateLabel}`,L=!!c.data.paperRouteId;return a.jsxs("g",{children:[u,a.jsx("circle",{cx:c.x,cy:c.y,r:"10",fill:"transparent",style:{cursor:L?"pointer":"default",outline:"none"},tabIndex:0,role:L?"link":"img","aria-label":E,onMouseEnter:()=>n(c.idx),onMouseLeave:()=>k(c.idx),onFocus:()=>n(c.idx),onBlur:()=>k(c.idx),onClick:()=>K(c.data.paperRouteId),onKeyDown:P=>{L&&(P.key==="Enter"||P.key===" ")&&(P.preventDefault(),K(c.data.paperRouteId))},children:a.jsx("title",{children:E})})]},c.idx)};return a.jsxs("svg",{width:"100%",viewBox:`0 0 ${l} ${d}`,style:{display:"block"},children:[a.jsx("defs",{children:a.jsxs("filter",{id:i,x:"-10%",y:"-30%",width:"120%",height:"160%",children:[a.jsx("feMorphology",{in:"SourceAlpha",operator:"dilate",radius:"1.5",result:"halo"}),a.jsx("feFlood",{style:{floodColor:"var(--bg-elevated)"}}),a.jsx("feComposite",{in2:"halo",operator:"in"}),a.jsxs("feMerge",{children:[a.jsx("feMergeNode",{}),a.jsx("feMergeNode",{in:"SourceGraphic"})]})]})}),a.jsx("text",{x:o-38,y:p+T/2,fontSize:"11",fontFamily:"var(--mono)",fill:"var(--ink-faint)",textAnchor:"middle",transform:`rotate(-90 ${o-38} ${p+T/2})`,children:t}),Array.from({length:X}).map((c,u)=>{const g=u/(X-1),E=p+T*(1-g),L=j+$*g;return a.jsxs("g",{children:[a.jsx("line",{x1:o,y1:E,x2:l-f,y2:E,stroke:"var(--hairline)",strokeWidth:"1"}),a.jsx("text",{x:o-10,y:E+4,fontSize:"11",fontFamily:"var(--mono)",fill:"var(--ink-faint)",textAnchor:"end",children:ce(L)})]},u)}),ee.map(c=>{const u=U(c.timestamp);return a.jsx("text",{x:u,y:d-h+18,fontSize:"11",fontFamily:"var(--mono)",fill:"var(--ink-soft)",textAnchor:"middle",children:c.label},c.key)}),G.filter(c=>!c.data.isSota).map(c=>{const u=s===c.idx;return x(c,a.jsx("circle",{cx:c.x,cy:c.y,r:u?3:2,fill:"var(--ink-faint)",opacity:u?1:.45,style:{transition:"r 0.12s ease, opacity 0.12s ease"}}))}),W&&a.jsx("path",{d:W,stroke:"var(--accent)",strokeWidth:"2",fill:"none",strokeLinejoin:"round",strokeLinecap:"round"}),w.map(c=>{const u=s===c.idx;return x(c,a.jsx("circle",{cx:c.x,cy:c.y,r:u?4.5:3,fill:u?"var(--accent)":"var(--bg-elevated)",stroke:"var(--accent)",strokeWidth:"1.5",style:{transition:"r 0.12s ease, fill 0.12s ease"}}))}),Z.map((c,u)=>a.jsx("text",{x:c.x,y:c.y,fontSize:"9.5",fontFamily:"var(--mono)",fill:"var(--ink-soft)",textAnchor:c.anchor,pointerEvents:"none",filter:`url(#${i})`,children:c.text},`label-${u}`)),s!==null&&G[s]&&(()=>{const c=G[s],u=c.data.modelName||c.data.paperTitle||"Unknown model",E=`${u.length>40?u.slice(0,39)+"…":u}: ${ce(c.data.value)}`,P=Math.max(120,Math.min(340,E.length*6.6+24)),H=30;let S=c.x-P/2;S<o&&(S=o),S+P>l-f&&(S=l-f-P);const q=c.y-H-14>=p?c.y-H-12:c.y+12;return a.jsxs("g",{pointerEvents:"none",children:[a.jsx("rect",{x:S,y:q,width:P,height:H,rx:"6",ry:"6",fill:"var(--bg-elevated)",stroke:"var(--hairline-strong)",strokeWidth:"1",style:{filter:"drop-shadow(0 2px 6px rgba(0,0,0,0.08))"}}),a.jsx("text",{x:S+12,y:q+19,fontSize:"12",fontFamily:"var(--sans)",fill:"var(--ink)",fontWeight:500,children:E})]})})()]})};function Ut(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const r=document.implementation.createHTMLDocument(),s=r.createElement("base"),n=r.createElement("a");return r.head.appendChild(s),r.body.appendChild(n),t&&(s.href=t),n.href=e,n.href}const Wt=(()=>{let e=0;const t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function Y(e){const t=[];for(let r=0,s=e.length;r<s;r++)t.push(e[r]);return t}let ne=null;function Ye(e={}){return ne||(e.includeStyleProperties?(ne=e.includeStyleProperties,ne):(ne=Y(window.getComputedStyle(document.documentElement)),ne))}function ue(e,t){const s=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return s?parseFloat(s.replace("px","")):0}function zt(e){const t=ue(e,"border-left-width"),r=ue(e,"border-right-width");return e.clientWidth+t+r}function qt(e){const t=ue(e,"border-top-width"),r=ue(e,"border-bottom-width");return e.clientHeight+t+r}function Je(e,t={}){const r=t.width||zt(e),s=t.height||qt(e);return{width:r,height:s}}function Gt(){let e,t;try{t=process}catch{}const r=t&&t.env?t.env.devicePixelRatio:null;return r&&(e=parseInt(r,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}const V=16384;function Qt(e){(e.width>V||e.height>V)&&(e.width>V&&e.height>V?e.width>e.height?(e.height*=V/e.width,e.width=V):(e.width*=V/e.height,e.height=V):e.width>V?(e.height*=V/e.width,e.width=V):(e.width*=V/e.height,e.height=V))}function Xt(e,t={}){return e.toBlob?new Promise(r=>{e.toBlob(r,t.type?t.type:"image/png",t.quality?t.quality:1)}):new Promise(r=>{const s=window.atob(e.toDataURL(t.type?t.type:void 0,t.quality?t.quality:void 0).split(",")[1]),n=s.length,i=new Uint8Array(n);for(let l=0;l<n;l+=1)i[l]=s.charCodeAt(l);r(new Blob([i],{type:t.type?t.type:"image/png"}))})}function he(e){return new Promise((t,r)=>{const s=new Image;s.onload=()=>{s.decode().then(()=>{requestAnimationFrame(()=>t(s))})},s.onerror=r,s.crossOrigin="anonymous",s.decoding="async",s.src=e})}async function Kt(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function Yt(e,t,r){const s="http://www.w3.org/2000/svg",n=document.createElementNS(s,"svg"),i=document.createElementNS(s,"foreignObject");return n.setAttribute("width",`${t}`),n.setAttribute("height",`${r}`),n.setAttribute("viewBox",`0 0 ${t} ${r}`),i.setAttribute("width","100%"),i.setAttribute("height","100%"),i.setAttribute("x","0"),i.setAttribute("y","0"),i.setAttribute("externalResourcesRequired","true"),n.appendChild(i),i.appendChild(e),Kt(n)}const B=(e,t)=>{if(e instanceof t)return!0;const r=Object.getPrototypeOf(e);return r===null?!1:r.constructor.name===t.name||B(r,t)};function Jt(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function Zt(e,t){return Ye(t).map(r=>{const s=e.getPropertyValue(r),n=e.getPropertyPriority(r);return`${r}: ${s}${n?" !important":""};`}).join(" ")}function er(e,t,r,s){const n=`.${e}:${t}`,i=r.cssText?Jt(r):Zt(r,s);return document.createTextNode(`${n}{${i}}`)}function De(e,t,r,s){const n=window.getComputedStyle(e,r),i=n.getPropertyValue("content");if(i===""||i==="none")return;const l=Wt();try{t.className=`${t.className} ${l}`}catch{return}const d=document.createElement("style");d.appendChild(er(l,r,n,s)),t.appendChild(d)}function tr(e,t,r){De(e,t,":before",r),De(e,t,":after",r)}const He="application/font-woff",Ve="image/jpeg",rr={woff:He,woff2:He,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Ve,jpeg:Ve,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function ar(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function je(e){const t=ar(e).toLowerCase();return rr[t]||""}function sr(e){return e.split(/,/)[1]}function we(e){return e.search(/^(data:)/)!==-1}function nr(e,t){return`data:${t};base64,${e}`}async function Ze(e,t,r){const s=await fetch(e,t);if(s.status===404)throw new Error(`Resource "${s.url}" not found`);const n=await s.blob();return new Promise((i,l)=>{const d=new FileReader;d.onerror=l,d.onloadend=()=>{try{i(r({res:s,result:d.result}))}catch(o){l(o)}},d.readAsDataURL(n)})}const be={};function ir(e,t,r){let s=e.replace(/\?.*/,"");return r&&(s=e),/ttf|otf|eot|woff2?/i.test(s)&&(s=s.replace(/.*\//,"")),t?`[${t}]${s}`:s}async function Se(e,t,r){const s=ir(e,t,r.includeQueryParams);if(be[s]!=null)return be[s];r.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let n;try{const i=await Ze(e,r.fetchRequestInit,({res:l,result:d})=>(t||(t=l.headers.get("Content-Type")||""),sr(d)));n=nr(i,t)}catch(i){n=r.imagePlaceholder||"";let l=`Failed to fetch resource: ${e}`;i&&(l=typeof i=="string"?i:i.message),l&&console.warn(l)}return be[s]=n,n}async function lr(e){const t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):he(t)}async function or(e,t){if(e.currentSrc){const i=document.createElement("canvas"),l=i.getContext("2d");i.width=e.clientWidth,i.height=e.clientHeight,l==null||l.drawImage(e,0,0,i.width,i.height);const d=i.toDataURL();return he(d)}const r=e.poster,s=je(r),n=await Se(r,s,t);return he(n)}async function cr(e,t){var r;try{if(!((r=e==null?void 0:e.contentDocument)===null||r===void 0)&&r.body)return await fe(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function dr(e,t){return B(e,HTMLCanvasElement)?lr(e):B(e,HTMLVideoElement)?or(e,t):B(e,HTMLIFrameElement)?cr(e,t):e.cloneNode(et(e))}const mr=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",et=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function ur(e,t,r){var s,n;if(et(t))return t;let i=[];return mr(e)&&e.assignedNodes?i=Y(e.assignedNodes()):B(e,HTMLIFrameElement)&&(!((s=e.contentDocument)===null||s===void 0)&&s.body)?i=Y(e.contentDocument.body.childNodes):i=Y(((n=e.shadowRoot)!==null&&n!==void 0?n:e).childNodes),i.length===0||B(e,HTMLVideoElement)||await i.reduce((l,d)=>l.then(()=>fe(d,r)).then(o=>{o&&t.appendChild(o)}),Promise.resolve()),t}function hr(e,t,r){const s=t.style;if(!s)return;const n=window.getComputedStyle(e);n.cssText?(s.cssText=n.cssText,s.transformOrigin=n.transformOrigin):Ye(r).forEach(i=>{let l=n.getPropertyValue(i);i==="font-size"&&l.endsWith("px")&&(l=`${Math.floor(parseFloat(l.substring(0,l.length-2)))-.1}px`),B(e,HTMLIFrameElement)&&i==="display"&&l==="inline"&&(l="block"),i==="d"&&t.getAttribute("d")&&(l=`path(${t.getAttribute("d")})`),s.setProperty(i,l,n.getPropertyPriority(i))})}function fr(e,t){B(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),B(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function pr(e,t){if(B(e,HTMLSelectElement)){const r=t,s=Array.from(r.children).find(n=>e.value===n.getAttribute("value"));s&&s.setAttribute("selected","")}}function gr(e,t,r){return B(t,Element)&&(hr(e,t,r),tr(e,t,r),fr(e,t),pr(e,t)),t}async function xr(e,t){const r=e.querySelectorAll?e.querySelectorAll("use"):[];if(r.length===0)return e;const s={};for(let i=0;i<r.length;i++){const d=r[i].getAttribute("xlink:href");if(d){const o=e.querySelector(d),f=document.querySelector(d);!o&&f&&!s[d]&&(s[d]=await fe(f,t,!0))}}const n=Object.values(s);if(n.length){const i="http://www.w3.org/1999/xhtml",l=document.createElementNS(i,"svg");l.setAttribute("xmlns",i),l.style.position="absolute",l.style.width="0",l.style.height="0",l.style.overflow="hidden",l.style.display="none";const d=document.createElementNS(i,"defs");l.appendChild(d);for(let o=0;o<n.length;o++)d.appendChild(n[o]);e.appendChild(l)}return e}async function fe(e,t,r){return!r&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(s=>dr(s,t)).then(s=>ur(e,s,t)).then(s=>gr(e,s,t)).then(s=>xr(s,t))}const tt=/url\((['"]?)([^'"]+?)\1\)/g,br=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,yr=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function wr(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function vr(e){const t=[];return e.replace(tt,(r,s,n)=>(t.push(n),r)),t.filter(r=>!we(r))}async function jr(e,t,r,s,n){try{const i=r?Ut(t,r):t,l=je(t);let d;return n||(d=await Se(i,l,s)),e.replace(wr(t),`$1${d}$3`)}catch{}return e}function Sr(e,{preferredFontFormat:t}){return t?e.replace(yr,r=>{for(;;){const[s,,n]=br.exec(r)||[];if(!n)return"";if(n===t)return`src: ${s};`}}):e}function rt(e){return e.search(tt)!==-1}async function at(e,t,r){if(!rt(e))return e;const s=Sr(e,r);return vr(s).reduce((i,l)=>i.then(d=>jr(d,l,t,r)),Promise.resolve(s))}async function ie(e,t,r){var s;const n=(s=t.style)===null||s===void 0?void 0:s.getPropertyValue(e);if(n){const i=await at(n,null,r);return t.style.setProperty(e,i,t.style.getPropertyPriority(e)),!0}return!1}async function _r(e,t){await ie("background",e,t)||await ie("background-image",e,t),await ie("mask",e,t)||await ie("-webkit-mask",e,t)||await ie("mask-image",e,t)||await ie("-webkit-mask-image",e,t)}async function kr(e,t){const r=B(e,HTMLImageElement);if(!(r&&!we(e.src))&&!(B(e,SVGImageElement)&&!we(e.href.baseVal)))return;const s=r?e.src:e.href.baseVal,n=await Se(s,je(s),t);await new Promise((i,l)=>{e.onload=i,e.onerror=t.onImageErrorHandler?(...o)=>{try{i(t.onImageErrorHandler(...o))}catch(f){l(f)}}:l;const d=e;d.decode&&(d.decode=i),d.loading==="lazy"&&(d.loading="eager"),r?(e.srcset="",e.src=n):e.href.baseVal=n})}async function Cr(e,t){const s=Y(e.childNodes).map(n=>st(n,t));await Promise.all(s).then(()=>e)}async function st(e,t){B(e,Element)&&(await _r(e,t),await kr(e,t),await Cr(e,t))}function Er(e,t){const{style:r}=e;t.backgroundColor&&(r.backgroundColor=t.backgroundColor),t.width&&(r.width=`${t.width}px`),t.height&&(r.height=`${t.height}px`);const s=t.style;return s!=null&&Object.keys(s).forEach(n=>{r[n]=s[n]}),e}const Oe={};async function Ue(e){let t=Oe[e];if(t!=null)return t;const s=await(await fetch(e)).text();return t={url:e,cssText:s},Oe[e]=t,t}async function We(e,t){let r=e.cssText;const s=/url\(["']?([^"')]+)["']?\)/g,i=(r.match(/url\([^)]+\)/g)||[]).map(async l=>{let d=l.replace(s,"$1");return d.startsWith("https://")||(d=new URL(d,e.url).href),Ze(d,t.fetchRequestInit,({result:o})=>(r=r.replace(l,`url(${o})`),[l,o]))});return Promise.all(i).then(()=>r)}function ze(e){if(e==null)return[];const t=[],r=/(\/\*[\s\S]*?\*\/)/gi;let s=e.replace(r,"");const n=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const o=n.exec(s);if(o===null)break;t.push(o[0])}s=s.replace(n,"");const i=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,l="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",d=new RegExp(l,"gi");for(;;){let o=i.exec(s);if(o===null){if(o=d.exec(s),o===null)break;i.lastIndex=d.lastIndex}else d.lastIndex=i.lastIndex;t.push(o[0])}return t}async function Nr(e,t){const r=[],s=[];return e.forEach(n=>{if("cssRules"in n)try{Y(n.cssRules||[]).forEach((i,l)=>{if(i.type===CSSRule.IMPORT_RULE){let d=l+1;const o=i.href,f=Ue(o).then(p=>We(p,t)).then(p=>ze(p).forEach(h=>{try{n.insertRule(h,h.startsWith("@import")?d+=1:n.cssRules.length)}catch(m){console.error("Error inserting rule from remote css",{rule:h,error:m})}})).catch(p=>{console.error("Error loading remote css",p.toString())});s.push(f)}})}catch(i){const l=e.find(d=>d.href==null)||document.styleSheets[0];n.href!=null&&s.push(Ue(n.href).then(d=>We(d,t)).then(d=>ze(d).forEach(o=>{l.insertRule(o,l.cssRules.length)})).catch(d=>{console.error("Error loading remote stylesheet",d)})),console.error("Error inlining remote css file",i)}}),Promise.all(s).then(()=>(e.forEach(n=>{if("cssRules"in n)try{Y(n.cssRules||[]).forEach(i=>{r.push(i)})}catch(i){console.error(`Error while reading CSS rules from ${n.href}`,i)}}),r))}function Rr(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>rt(t.style.getPropertyValue("src")))}async function Pr(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const r=Y(e.ownerDocument.styleSheets),s=await Nr(r,t);return Rr(s)}function nt(e){return e.trim().replace(/["']/g,"")}function Mr(e){const t=new Set;function r(s){(s.style.fontFamily||getComputedStyle(s).fontFamily).split(",").forEach(i=>{t.add(nt(i))}),Array.from(s.children).forEach(i=>{i instanceof HTMLElement&&r(i)})}return r(e),t}async function $r(e,t){const r=await Pr(e,t),s=Mr(e);return(await Promise.all(r.filter(i=>s.has(nt(i.style.fontFamily))).map(i=>{const l=i.parentStyleSheet?i.parentStyleSheet.href:null;return at(i.cssText,l,t)}))).join(`
2
  `)}async function Tr(e,t){const r=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await $r(e,t);if(r){const s=document.createElement("style"),n=document.createTextNode(r);s.appendChild(n),e.firstChild?e.insertBefore(s,e.firstChild):e.appendChild(s)}}async function Lr(e,t={}){const{width:r,height:s}=Je(e,t),n=await fe(e,t,!0);return await Tr(n,t),await st(n,t),Er(n,t),await Yt(n,r,s)}async function Fr(e,t={}){const{width:r,height:s}=Je(e,t),n=await Lr(e,t),i=await he(n),l=document.createElement("canvas"),d=l.getContext("2d"),o=t.pixelRatio||Gt(),f=t.canvasWidth||r,p=t.canvasHeight||s;return l.width=f*o,l.height=p*o,t.skipAutoScale||Qt(l),l.style.width=`${f}`,l.style.height=`${p}`,t.backgroundColor&&(d.fillStyle=t.backgroundColor,d.fillRect(0,0,l.width,l.height)),d.drawImage(i,0,0,l.width,l.height),l}async function Ir(e,t={}){const r=await Fr(e,t);return await Xt(r)}const ve="#ffffff";function Ar(){return typeof window>"u"?ve:window.getComputedStyle(document.documentElement).getPropertyValue("--bg-elevated").trim()||ve}function Br(e){if(typeof window>"u")return ve;const t=window.getComputedStyle(e).backgroundColor;return!t||t==="rgba(0, 0, 0, 0)"||t==="transparent"?Ar():t}async function Dr(e){var r,s;if(typeof window>"u"||!((s=(r=window.navigator)==null?void 0:r.clipboard)!=null&&s.write))throw new Error("Clipboard image copy is not supported in this browser.");if(typeof window.ClipboardItem>"u")throw new Error("Clipboard image copy is not supported in this browser.");const t=await Ir(e,{pixelRatio:2,cacheBust:!0,backgroundColor:Br(e)});if(!t)throw new Error("Failed to render screenshot.");await window.navigator.clipboard.write([new window.ClipboardItem({"image/png":t})])}const it=({targetRef:e,label:t})=>{const{toast:r}=dt(),[s,n]=F.useState("idle"),i=F.useRef(null);F.useEffect(()=>()=>{i.current!==null&&window.clearTimeout(i.current)},[]);const l=F.useCallback(async()=>{const o=e.current;if(o){n("copying"),o.classList.add("is-capturing"),o.offsetHeight,await new Promise(f=>window.requestAnimationFrame(()=>f()));try{await Dr(o),n("copied"),r({title:"Screenshot copied",description:`Image of the ${t} copied to your clipboard.`}),i.current!==null&&window.clearTimeout(i.current),i.current=window.setTimeout(()=>n("idle"),1500)}catch(f){n("idle"),r({title:"Copy failed",description:f instanceof Error&&f.message?f.message:"Could not copy the screenshot to your clipboard.",variant:"destructive"})}finally{o.classList.remove("is-capturing")}}},[e,t,r]),d=s==="copied"?"Copied":s==="copying"?"Copying…":"Copy image";return a.jsxs("button",{type:"button",className:"bm-copy-btn",onClick:l,disabled:s==="copying","aria-label":`Copy ${t} screenshot to clipboard`,title:`Copy ${t} screenshot to clipboard`,children:[a.jsx(bt,{name:"copy",size:11}),d]})};function Hr({model:e,datasetName:t,hideClosed:r,setHideClosed:s,setMetric:n}){const i=F.useRef(null),{isInitialFilteredViewLoading:l,chartPoints:d,activeMetric:o,allowedMetrics:f,orderedMetrics:p,parameterBound:h}=e;return l||d.length===0?null:a.jsxs("div",{className:"bm-card",ref:i,children:[a.jsxs("div",{className:"bm-card-screenshot-header","aria-hidden":"true",children:[a.jsxs("div",{className:"bm-card-screenshot-title",children:[a.jsx("span",{className:"bm-card-screenshot-eyebrow",children:"Benchmark"}),a.jsx("span",{className:"bm-card-screenshot-name",children:t})]}),a.jsxs("div",{className:"bm-card-screenshot-brand",children:[a.jsxs("span",{className:"brand",children:[a.jsx("span",{className:"brand-mark"}),a.jsxs("span",{className:"brand-name",children:["Papers ",a.jsx("em",{children:"With Code"})]})]}),a.jsx("span",{className:"bm-card-screenshot-url",children:"paperswithcode.co"})]})]}),a.jsxs("div",{className:"bm-card-head",children:[a.jsx("h2",{className:"bm-card-title",children:"SOTA progression"}),a.jsxs("div",{className:"bm-card-actions",children:[f.length>1&&a.jsxs("label",{className:"bm-view-select",children:[a.jsx("span",{className:"bm-view-select-label",children:"View"}),a.jsx("select",{value:o,onChange:m=>n(m.target.value),children:p.map(m=>a.jsx("option",{value:m,children:m},m))})]}),a.jsxs("label",{className:"bm-closed-toggle",title:"Show or hide evaluations of closed-source models",children:[a.jsx(Qe,{className:"bm-closed-toggle-switch",checked:!r,onCheckedChange:m=>{s(!m)},"aria-label":"Show closed-source models"}),a.jsx("span",{className:"bm-closed-toggle-label",children:"Closed-source"})]}),a.jsx(it,{targetRef:i,label:"SOTA chart"})]})]}),a.jsx("div",{className:"bm-chart-wrap",children:a.jsx(Ot,{points:d,metric:o})}),a.jsxs("div",{className:"bm-chart-foot",children:[a.jsx("span",{className:"legend-dot"}),h===void 0?"All models":"Filtered models"," over time · highlighted dots track the running best · hover for the model · click to open the paper"]})]})}const ye="filter",qe="open-source";function Vr(e){if(!e)return null;const t=e.trim(),r=t.match(/^https?:\/\/(?:www\.)?arxiv\.org\/(?:abs|pdf)\/([^/?#]+)/i);if(r!=null&&r[1])return r[1].replace(/\.pdf$/i,"");const s=t.match(/^(?:https?:\/\/(?:www\.)?paperswithcode\.co)?\/paper\/([^/?#]+)/i);return(s==null?void 0:s[1])??null}function Ge(e,t){return e?a.jsx(de,{title:e}):t||"—"}const ca=()=>{var _e,ke,Ce,Ee,Ne,Re,Pe,Me;const{datasetSlug:e}=mt(),[t,r]=ut(),s=t.get("task")||void 0,n=t.get("eval")||void 0,i=Ct(t.get("max_parameters_exclusive")),{preferences:l,setHideClosedSourceEvals:d}=pt(),o=t.get(ye)===qe||l.hide_closed_source_evals,f=F.useRef(null),p=F.useRef(!1),h=F.useRef(null),[m,j]=F.useState(null),I=`${e}:${s||""}`,$=m===I,[_,T]=F.useState(1),v=te(se.datasetPage(e,{include_paper:!0,task:s,is_open:o?!0:void 0}));_t(v.data&&kt(v.data.name));const N=te(ht.byDataset((_e=v.data)==null?void 0:_e.id)),y=te(se.datasetTasks((ke=v.data)==null?void 0:ke.id)),O=te(se.metricDirections()),U=Ke(y.data||[],N.data||[],s,n),G=te({...se.taskBenchmarkTrends(U??void 0,{limit:100,min_recent_papers:0,is_open:o?!0:void 0}),enabled:!!((Ce=v.data)!=null&&Ce.id)}),w=F.useMemo(()=>{var b;return(((b=G.data)==null?void 0:b.results)||[]).find(M=>{var R;return M.id===((R=v.data)==null?void 0:R.id)})||null},[G.data,(Ee=v.data)==null?void 0:Ee.id]),W=te(se.leaderboardMetrics((Ne=v.data)==null?void 0:Ne.id,U??void 0)),A=It({evaluations:N.data||[],tasks:y.data||[],configuredMetrics:W.data||[],directions:O.data,initialSummary:(Re=v.data)==null?void 0:Re.leaderboard_summary,taskSlug:s,highlightEvalId:n,metric:t.get("metric")||void 0,hideClosed:o,parameterBound:i,showMoreMetrics:$,fittingMetricCount:_,ready:{evaluations:N.isSuccess,tasks:y.isSuccess,directions:O.isSuccess,metrics:W.isSuccess}}),{primaryTask:D,hiddenClosedEvals:J,hiddenClosedTopEval:Q,isSummaryLoading:Z,displayedMetric:C,displayedSota:z,displayedSotaModel:ee,isInitialFilteredViewLoading:X,highlightedEval:k,hasParameterMetadata:K,parameterCoverage:x,orderedMetrics:c}=A;F.useEffect(()=>{if(p.current||!n||!N.data||N.data.length===0)return;const b=f.current;b&&(p.current=!0,b.scrollIntoView({behavior:"smooth",block:"start"}))},[n,N.data]);const u=te(se.area(D==null?void 0:D.area_id));if(v.isLoading)return a.jsxs("div",{className:"page",children:[a.jsx(me,{className:"h-12 w-1/2 mb-6"}),a.jsx(me,{className:"h-64 w-full"})]});if(!v.data)return St([v.error],"Failed to load this benchmark. Please try again.")??a.jsx(jt,{});const g=v.data,E=!!g.supports_harness,L=b=>{r(M=>{const R=new URLSearchParams(M);return b===void 0?R.delete("max_parameters_exclusive"):R.set("max_parameters_exclusive",String(b)),R})},P=b=>{r(M=>{const R=new URLSearchParams(M);return b?R.set(ye,qe):R.delete(ye),R}),d(b)},H=b=>{r(M=>{const R=new URLSearchParams(M);return R.set("metric",b),R})},S=g.introducing_paper??void 0,re=(S==null?void 0:S.arxiv_id)||(S==null?void 0:S.id)||Vr(g.paper_url),q=(S==null?void 0:S.title)||g.introducing_paper_title||null,ae=((Pe=S==null?void 0:S.published)==null?void 0:Pe.slice(0,4))||g.introduced_year||null,lt=!!re||!!g.paper_url||!!q,ot=S!=null&&S.arxiv_id||(Me=g.paper_url)!=null&&Me.match(/^https?:\/\/(?:www\.)?arxiv\.org\//i)?`arXiv:${re}`:`Paper ${re}`;return a.jsx("div",{className:"page",children:a.jsxs("div",{className:"bm-page",children:[a.jsxs("div",{className:"breadcrumb",children:[a.jsx(le,{to:"/tasks",children:"Tasks"}),u.data&&a.jsxs(a.Fragment,{children:[a.jsx("span",{className:"sep",children:"/"}),a.jsx(le,{to:`/tasks#area-${vt(u.data.name)}`,children:u.data.name})]}),D&&a.jsxs(a.Fragment,{children:[a.jsx("span",{className:"sep",children:"/"}),a.jsx(le,{to:`/tasks/${D.slug||D.id}`,children:D.name})]}),a.jsx("span",{className:"sep",children:"/"}),a.jsx("span",{style:{color:"var(--accent-text)"},children:g.name})]}),a.jsxs("div",{className:"bm-title-row",children:[a.jsx("h1",{className:"bm-title",children:g.name}),w&&a.jsxs("div",{className:"bm-title-trend","aria-label":`${g.name} reporting trend`,children:[a.jsx(yt,{history:w.history,benchmarkName:w.name}),a.jsxs("span",{className:"bm-title-trend-summary",children:[a.jsx("strong",{children:w.recent_paper_count})," ",w.recent_paper_count===1?"paper":"papers",w.rate_change==null?w.recent_paper_count>0&&a.jsx("span",{className:"benchmark-trend-change is-new",children:"new"}):a.jsxs("span",{className:`benchmark-trend-change ${w.rate_change>=1?"is-up":"is-down"}`,children:[w.rate_change>=1?"↑":"↓"," ",w.rate_change.toFixed(1),"×"]})]})]})]}),a.jsx(ft,{kind:"benchmark",entityId:g.id}),a.jsxs("div",{className:"bm-subtitle",children:[Z?a.jsx(me,{className:"h-5 w-64 bm-summary-skeleton","aria-label":"Loading benchmark summary"}):a.jsxs("span",{children:[C&&a.jsxs(a.Fragment,{children:[a.jsx("span",{className:"metric-tag",children:C}),a.jsx("span",{style:{color:"var(--hairline-strong)",margin:"0 8px"},children:"·"})]}),ee?a.jsxs("span",{children:["Best: ",a.jsx("span",{className:"best-name",children:ce(z)})," by ",a.jsx("span",{className:"best-name",style:{fontStyle:"normal"},children:ee})]}):a.jsxs("span",{children:[A.rows.length," evaluations"]})]}),g.hf_url&&a.jsxs("a",{className:"bm-action-btn",href:g.hf_url,target:"_blank",rel:"noopener noreferrer",children:[a.jsx("span",{"aria-hidden":"true",children:"🤗"})," View on Hugging Face"]})]}),g.description&&a.jsx("p",{className:"bm-description",children:g.description}),o&&J.length>0&&a.jsxs("div",{className:"bm-hidden-closed-notice",children:[a.jsxs("span",{children:[J.length," closed-source ",J.length===1?"row is":"rows are"," hidden",Q!=null&&Q.model_name?a.jsxs(a.Fragment,{children:[", including ",a.jsx("strong",{children:Q.model_name})]}):null,"."]}),a.jsx("button",{type:"button",className:"bm-hidden-closed-action",onClick:()=>P(!1),children:"Show closed-source"})]}),lt&&a.jsxs("div",{className:"method-source",style:{marginTop:0,marginBottom:18},children:[a.jsx("span",{className:"method-source-label",children:"Source"}),re?a.jsxs(le,{to:`/paper/${re}`,target:"_blank",rel:"noopener noreferrer",className:"method-source-link",children:[a.jsx("span",{className:"method-source-title",children:q?a.jsx(de,{title:q}):ot}),ae&&a.jsx("span",{className:"method-source-meta",children:ae})]}):g.paper_url?a.jsxs("a",{href:wt(g.paper_url)??void 0,target:"_blank",rel:"noopener noreferrer",className:"method-source-link",children:[a.jsx("span",{className:"method-source-title",children:q?a.jsx(de,{title:q}):g.paper_url}),ae&&a.jsx("span",{className:"method-source-meta",children:ae})]}):a.jsxs("div",{className:"method-source-link is-static",children:[a.jsx("span",{className:"method-source-title",children:q?a.jsx(de,{title:q}):null}),ae&&a.jsx("span",{className:"method-source-meta",children:ae})]})]}),a.jsx(Hr,{model:A,datasetName:g.name,hideClosed:o,setHideClosed:P,setMetric:H}),k&&(()=>{var Te,Le;const b=k.paper_arxiv_id||k.paper_id,M=k.paper_title||(k.paper_arxiv_id?`arXiv:${k.paper_arxiv_id}`:null),R=k.best_metric&&((Te=k.metrics)==null?void 0:Te[k.best_metric])!==void 0?k.best_metric:A.activeMetric,$e=(Le=k.metrics)==null?void 0:Le[R];return a.jsxs("div",{className:"bm-highlight-banner",role:"status",children:[a.jsx("span",{className:"bm-highlight-dot","aria-hidden":"true"}),a.jsxs("div",{className:"bm-highlight-text",children:[a.jsx("span",{className:"bm-highlight-label",children:"Comparing result"}),a.jsxs("span",{className:"bm-highlight-paper",children:[k.model_name||M||"—",k.harness?` · ${k.harness}`:""]}),a.jsxs("span",{className:"bm-highlight-meta",children:[$e!==void 0&&R?a.jsxs(a.Fragment,{children:[R,": ",ce($e),M?" · ":""]}):null,b?a.jsx(le,{to:`/paper/${b}`,children:Ge(k.paper_title,M)}):Ge(k.paper_title,M)]})]})]})})(),a.jsxs("div",{className:"bm-card",ref:h,children:[a.jsxs("div",{className:"bm-card-screenshot-header","aria-hidden":"true",children:[a.jsxs("div",{className:"bm-card-screenshot-title",children:[a.jsx("span",{className:"bm-card-screenshot-eyebrow",children:"Benchmark"}),a.jsx("span",{className:"bm-card-screenshot-name",children:g.name})]}),a.jsxs("div",{className:"bm-card-screenshot-brand",children:[a.jsxs("span",{className:"brand",children:[a.jsx("span",{className:"brand-mark"}),a.jsxs("span",{className:"brand-name",children:["Papers ",a.jsx("em",{children:"With Code"})]})]}),a.jsx("span",{className:"bm-card-screenshot-url",children:"paperswithcode.co"})]})]}),a.jsxs("div",{className:"bm-card-head",children:[a.jsx("h2",{className:"bm-card-title",children:"Leaderboard"}),a.jsxs("div",{className:"bm-card-actions",children:[A.allowedMetrics.length>1&&a.jsxs("label",{className:"bm-view-select",children:[a.jsx("span",{className:"bm-view-select-label",children:"View"}),a.jsx("select",{value:A.activeMetric,onChange:b=>H(b.target.value),children:c.map(b=>a.jsx("option",{value:b,children:b},b))})]}),a.jsxs("label",{className:"bm-closed-toggle",title:"Show or hide evaluations of closed-source models",children:[a.jsx(Qe,{className:"bm-closed-toggle-switch",checked:!o,onCheckedChange:b=>P(!b),"aria-label":"Show closed-source models"}),a.jsx("span",{className:"bm-closed-toggle-label",children:"Closed-source"})]}),!X&&!K&&N.isSuccess?a.jsx("span",{className:"bm-parameter-unavailable",children:"Parameter metadata unavailable"}):null,a.jsx(it,{targetRef:h,label:"leaderboard"})]})]}),!X&&K&&a.jsxs("div",{className:"bm-parameter-filter-bar",children:[a.jsx("span",{className:"bm-parameter-filter-label",children:"Parameters Size"}),a.jsx("div",{className:"bm-parameter-filter-options",role:"group","aria-label":"Filter leaderboard by parameter size",children:A.parameterFilters.map(b=>{const{selected:M,disabled:R}=b;return a.jsx("button",{type:"button",className:`bm-parameter-filter-option${M?" is-active":""}`,"aria-pressed":M,disabled:R,onClick:()=>L(b.maxParametersExclusive),children:b.label},b.label)})}),a.jsxs("span",{className:"bm-parameter-coverage",children:["Parameters known for ",x.parameter_coverage_known," of ",x.parameter_coverage_total," entries"]})]}),N.isLoading||X?a.jsx("div",{style:{padding:16},children:Array.from({length:5}).map((b,M)=>a.jsx(me,{className:"h-10 w-full mb-2"},M))}):A.rows.length===0?i?a.jsxs("div",{className:"no-results",children:["No known parameter counts match this filter. "," ",a.jsx("button",{type:"button",className:"bm-empty-filter-action",onClick:()=>L(void 0),children:"Show all"})]}):a.jsx("div",{className:"no-results",children:"No evaluations submitted yet."}):a.jsxs(a.Fragment,{children:[c.length>_&&a.jsxs("div",{className:"bm-metric-columns-control",children:[a.jsx("button",{type:"button",className:"bm-metric-columns-toggle","aria-expanded":$,"aria-controls":"benchmark-leaderboard",onClick:()=>j($?null:I),children:$?"Show fewer metrics":`Show more metrics (${c.length-_})`}),$&&a.jsx("span",{children:"Scroll metrics horizontally; model and paper details stay visible."})]}),a.jsx(Ht,{datasetName:g.name,model:A,showHarness:E,setMetric:H,highlightRowRef:f,onFittingMetricCountChange:T})]})]})]})})};export{ca as default};
 
1
+ import{i as F,j as a,a3 as ce,L as le,n as ct,J as dt,u as mt,f as ut,b as te,K as ht,v as se}from"./index-CrYWgAoM.js";import{R as ft}from"./ResearchFollowButton-BCIfaLgE.js";import{u as pt}from"./preferences-BvpZd0R3.js";import{L as de}from"./LatexTitle-TFtKXSOA.js";import{C as gt,E as xt}from"./ExternalSourceEvalBadge-BfVErjNU.js";import{S as Qe}from"./switch-CcJYwO74.js";import{I as bt}from"./Icon-BrPPGkYF.js";import{S as me}from"./skeleton-CR7iZvat.js";import{B as yt}from"./BenchmarkTrendSparkline-CXgXdB42.js";import{s as wt}from"./safeExternalHref-CkBrsh84.js";import{s as vt}from"./slug-BpH-Nkvz.js";import jt from"./NotFound-DDD3QkLQ.js";import{l as St}from"./LoadFailurePage-DERO_21B.js";import{u as _t}from"./useDocumentTitle-BLJX3S0V.js";import{b as kt}from"./pageTitles-DI-gHdpy.js";import"./researchTopic-BGjIaltV.js";import"./useMutation-CghM0QJV.js";import"./plus-BFsfRK33.js";import"./hover-card-Cwr5IQpG.js";import"./index-BrV3rrlz.js";import"./alert-BWfaZ9GT.js";function oe(e){if(e==null)return null;if(typeof e=="number")return Number.isFinite(e)?e:null;const t=e.includes("±")?e.split("±")[0].trim():e.trim(),r=parseFloat(t);return Number.isFinite(r)?r:null}const Xe=[{label:"All",maxParametersExclusive:void 0},{label:"<10M",maxParametersExclusive:1e7},{label:"<100M",maxParametersExclusive:1e8},{label:"<1B",maxParametersExclusive:1e9},{label:"<3B",maxParametersExclusive:3e9},{label:"<6B",maxParametersExclusive:6e9},{label:"<12B",maxParametersExclusive:12e9},{label:"<32B",maxParametersExclusive:32e9},{label:"<128B",maxParametersExclusive:128e9},{label:"<500B",maxParametersExclusive:5e11}];function Ct(e){const t=e===null?void 0:Number(e);return Xe.some(r=>r.maxParametersExclusive===t)?t:void 0}function Et(e){return new Intl.NumberFormat("en",{notation:"compact",maximumSignificantDigits:3}).format(e)}function Nt(e){return[e.paper_id,e.task_id,e.dataset_id,e.model_name,e.harness??""].join("|")}function Rt(e){const t=new Map;for(const r of e){const s=Nt(r),n=t.get(s);if(!n){t.set(s,{...r,metrics:{...r.metrics||{}},sourceEvaluationIds:[r.id],ranksByMetric:r.best_metric&&r.best_rank!=null?{[r.best_metric]:r.best_rank}:{},parameterCount:r.num_parameters??null,hasParameterConflict:!1});continue}n.metrics={...n.metrics,...r.metrics||{}},n.sourceEvaluationIds.push(r.id),r.best_metric&&r.best_rank!=null&&(n.ranksByMetric[r.best_metric]=r.best_rank),r.num_parameters!=null&&!n.hasParameterConflict&&(n.parameterCount===null?n.parameterCount=r.num_parameters:n.parameterCount!==r.num_parameters&&(n.parameterCount=null,n.hasParameterConflict=!0))}return Array.from(t.values())}function Fe(e,t){return t===void 0?e:e.filter(r=>r.parameterCount!==null&&r.parameterCount<t)}function Pt(e,t){return t?e.id===t||e.sourceEvaluationIds.includes(t):!1}function Ie(e,t){return e.ranksByMetric[t]??e.best_rank??9999}function Mt(e){const t=Date.parse(e);return Number.isNaN(t)?"":new Date(t).toISOString().slice(0,10)}function $t(e){const t=new Map;for(const s of e)s.evaluated_on&&t.set(s.evaluated_on,(t.get(s.evaluated_on)??0)+1);const r=Array.from(t.values()).reduce((s,n)=>s+n,0);for(const[s,n]of t)if(n>=2&&n*2>r)return s;return null}function Tt(e,t){const r=e.evaluated_on;return r&&r!==t&&r!==Mt(e.updated_at)?r:e.paper_published_date||""}function Lt(e,t,r){if(e.length===0)return{points:[],sota:0,sotaModel:""};const s=$t(e),n=e.map(h=>{var j;const m=oe((j=h.metrics)==null?void 0:j[t]);return{eval:h,value:m,date:Tt(h,s)}}).filter(h=>h.value!==null&&!!h.date).sort((h,m)=>h.date.localeCompare(m.date)),i=[];let l=null;for(const h of n){const m=l==null?!0:r==="↓"?h.value<l:h.value>l;m&&(l=h.value),i.push({value:h.value,date:h.date,dateLabel:h.date.slice(0,7),modelName:h.eval.model_name||"",paperTitle:h.eval.paper_title||"",paperRouteId:h.eval.paper_arxiv_id||h.eval.paper_id||null,isSota:m})}const o=e.map(h=>{var m;return{eval:h,value:oe((m=h.metrics)==null?void 0:m[t])}}).filter(h=>h.value!==null).sort((h,m)=>r==="↓"?h.value-m.value:m.value-h.value)[0],f=(o==null?void 0:o.value)??0,p=(o==null?void 0:o.eval.model_name)||(o==null?void 0:o.eval.paper_title)||"";return{points:i,sota:f,sotaModel:p}}function Ft(e,t,r){const s=t?(e??[]).filter(l=>l.task_id===t):e??[],n=s.filter(l=>l.is_open===!1),i=n.reduce((l,d)=>l?(d.best_rank??Number.POSITIVE_INFINITY)<(l.best_rank??Number.POSITIVE_INFINITY)?d:l:d,null);return{visible:r?s.filter(l=>l.is_open!==!1):s,hiddenClosed:n,topHiddenClosed:i}}function Ke(e,t,r,s){const n=t.find(i=>i.id===s);if(e.length===0)return null;if(n!=null&&n.task_id&&e.some(i=>i.id===n.task_id))return n.task_id;if(r){const i=e.find(l=>l.slug===r);if(i)return i.id}if(e.length===1)return e[0].id;if(t.length>0){const i=new Map;for(const o of t)i.set(o.task_id,(i.get(o.task_id)||0)+1);let l=null,d=-1;for(const o of e){const f=i.get(o.id)||0;f>d&&(d=f,l=o.id)}if(l)return l}return e[0].id}function It(e){var X,k,K;const{evaluations:t,tasks:r,taskSlug:s,highlightEvalId:n,parameterBound:i,showMoreMetrics:l,fittingMetricCount:d=1}=e,o=Ke(r,t,s,n),f=r.find(x=>x.id===o)||r[0]||null,p=t.find(x=>x.id===n),h=Ft(t,o,e.hideClosed),m=Rt(h.visible),j=Fe(m,i),I=e.configuredMetrics.map(x=>x.metric_name),$=Array.from(new Set(m.flatMap(x=>[...x.best_metric?[x.best_metric]:[],...Object.keys(x.metrics||{})]))),_=I.length?I:$,T=new Map;for(const x of m){const c=x.best_metric;!c||oe(x.metrics[c])===null||I.length&&!_.includes(c)||T.set(c,(T.get(c)||0)+1)}const v=((X=[...T].sort((x,c)=>c[1]-x[1])[0])==null?void 0:X[0])||_[0]||"",y=_.find(x=>{var c;return x.toLocaleLowerCase()===((c=e.metric)==null?void 0:c.trim().toLocaleLowerCase())})||(p==null?void 0:p.best_metric)||v,O=((k=e.directions)==null?void 0:k.directions[y])==="lower_is_better"?"↓":"↑",U=y&&_.includes(y)?[y,..._.filter(x=>x!==y)]:_,G=U.length?l?U:U.slice(0,Math.max(1,d)):y?[y]:[],w=j.slice().sort((x,c)=>{const u=oe(x.metrics[y]),g=oe(c.metrics[y]);return u!==null&&g!==null?O==="↓"?u-g:g-u:u!==null?-1:g!==null?1:Ie(x,y)-Ie(c,y)});let W=null,A=0;const D=w.map((x,c)=>{const u=oe(x.metrics[y]);return u!==null&&u!==W&&(W=u,A=c+1),{evaluation:x,rank:u===null?null:A,isHighlighted:Pt(x,n)}}),{points:J,sota:Q,sotaModel:Z}=Lt(j,y,O),C=i===void 0?e.initialSummary:void 0,z=e.ready.evaluations&&e.ready.tasks&&e.ready.directions&&(!o||e.ready.metrics),ee={parameter_coverage_known:m.filter(x=>x.parameterCount!==null).length,parameter_coverage_total:m.length};return{currentTaskId:o,primaryTask:f,activeMetric:y,arrow:O,allowedMetrics:_,orderedMetrics:U,visibleMetrics:G,rows:D,chartPoints:J,highlightedEval:((K=D.find(x=>x.isHighlighted))==null?void 0:K.evaluation)||null,hiddenClosedEvals:h.hiddenClosed,hiddenClosedTopEval:h.topHiddenClosed,parameterBound:i,parameterCoverage:ee,hasParameterMetadata:ee.parameter_coverage_known>0,parameterFilters:Xe.map(x=>({...x,selected:i===x.maxParametersExclusive,disabled:i!==x.maxParametersExclusive&&Fe(m,x.maxParametersExclusive).length===0})),displayedMetric:z?y:C==null?void 0:C.metric,displayedSota:z?Q:C==null?void 0:C.value,displayedSotaModel:z?Z:C==null?void 0:C.model_name,isSummaryLoading:!z&&!C,isInitialFilteredViewLoading:i!==void 0&&!z}}function At(e,t,r,s=1,n=0){const i=e-t.fixed-(r?t.harness:0);if(t.metric<=0)return 1;const l=Math.floor(i/t.metric);if(l<s)return Math.max(1,l);const d=Math.floor((i-n)/t.metric);return Math.max(1,s,d)}function pe(e,t){return parseFloat(e.getPropertyValue(t))||0}function Bt(e){const t=getComputedStyle(e);return{fixed:["--bm-rank-width","--bm-model-width","--bm-parameters-width","--bm-paper-width","--bm-year-width"].reduce((r,s)=>r+pe(t,s),0),harness:pe(t,"--bm-harness-width"),metric:pe(t,"--bm-metric-width")}}const Dt=20;function Ae(e,t){return e?a.jsx(de,{title:e}):t||"—"}function Ht({datasetName:e,model:t,showHarness:r,setMetric:s,highlightRowRef:n,onFittingMetricCountChange:i}){const{rows:l,visibleMetrics:d,activeMetric:o,arrow:f}=t,[p,h]=F.useState(null);return F.useEffect(()=>{if(!p)return;const m=()=>{p.classList.toggle("has-horizontal-overflow",p.scrollWidth>p.clientWidth);const I=p.firstElementChild;if(!I)return;const $=p.clientWidth,_=Bt(I);p.classList.toggle("unpins-trailing-columns",$<_.fixed+_.metric);const T=document.documentElement,v=T.scrollHeight>T.clientHeight?0:Dt;i(N=>At($,_,r,N,v))},j=new ResizeObserver(m);return j.observe(p),p.firstElementChild&&j.observe(p.firstElementChild),m(),()=>j.disconnect()},[p,r,i]),a.jsx("div",{ref:h,className:"bm-table-scroll",role:"region","aria-label":`${e} leaderboard`,tabIndex:0,children:a.jsxs("table",{id:"benchmark-leaderboard",className:"bm-table",style:{"--bm-metric-count":d.length,"--bm-harness-count":r?1:0},children:[a.jsxs("caption",{className:"sr-only",children:[e," leaderboard"]}),a.jsxs("colgroup",{children:[a.jsx("col",{className:"bm-width-rank"}),a.jsx("col",{className:"bm-width-model"}),a.jsx("col",{className:"bm-width-parameters"}),r&&a.jsx("col",{className:"bm-width-harness"}),d.map(m=>a.jsx("col",{className:"bm-width-metric"},m)),a.jsx("col",{}),a.jsx("col",{className:"bm-width-year"})]}),a.jsx("thead",{children:a.jsxs("tr",{children:[a.jsx("th",{className:"col-rank",children:"Rank"}),a.jsx("th",{className:"col-model",children:"Model"}),a.jsxs("th",{className:"col-parameters",children:[a.jsx("span",{className:"bm-label-full",children:"Parameters"}),a.jsx("span",{className:"bm-label-short",children:"Params"})]}),r&&a.jsx("th",{className:"col-harness",children:"Harness"}),d.map(m=>{const j=m===o;return a.jsx("th",{className:`col-value ${j?"is-active":""}`,"aria-sort":j?f==="↓"?"ascending":"descending":"none",children:a.jsxs("button",{type:"button",className:"bm-metric-header",onClick:()=>s(m),"aria-pressed":j,title:`Sort by ${m}`,children:[m,j?` ${f}`:""]})},m)}),a.jsx("th",{className:"col-paper",children:"Paper"}),a.jsx("th",{className:"col-year",children:"Year"})]})}),a.jsx("tbody",{children:l.map(({evaluation:m,rank:j,isHighlighted:I})=>{var T;const $=m.paper_arxiv_id||m.paper_id,_=m.paper_title||(m.paper_arxiv_id?`arXiv:${m.paper_arxiv_id}`:null);return a.jsxs("tr",{ref:I?n:void 0,className:I?"is-highlighted":void 0,children:[a.jsx("td",{className:"col-rank",children:j??"—"}),a.jsxs("td",{className:"col-model",children:[I&&a.jsx("span",{className:"bm-row-marker","aria-hidden":"true"}),m.hf_model_url?a.jsx("a",{href:m.hf_model_url,target:"_blank",rel:"noopener noreferrer",className:"bm-model-link",title:`Open ${m.model_name||"model"} on Hugging Face`,children:m.model_name||"—"}):m.model_name||"—",m.is_open===!1&&a.jsx(gt,{}),(m.external??m.is_external)&&a.jsx(xt,{sourceUrl:m.source_url||m.external_source_url||m.result_url})]}),a.jsx("td",{className:"col-parameters",title:m.parameterCount===null?void 0:m.parameterCount.toLocaleString("en-US"),"aria-label":m.parameterCount===null?"Parameters unknown":`${m.parameterCount.toLocaleString("en-US")} parameters`,children:m.parameterCount===null?"—":Et(m.parameterCount)}),r&&a.jsx("td",{className:"col-harness",children:m.harness||"—"}),d.map(v=>{var O;const N=v===o,y=(O=m.metrics)==null?void 0:O[v];return a.jsx("td",{className:`col-value${N?" is-active":""}${N&&j===1?" is-best":""}`,children:y!=null&&y!==""?ce(y):"—"},v)}),a.jsx("td",{className:"col-paper",children:$?a.jsx(le,{to:`/paper/${$}`,title:m.paper_title||_||void 0,children:Ae(m.paper_title,_)}):Ae(m.paper_title,_)}),a.jsx("td",{className:"col-year",children:((T=m.evaluated_on||m.paper_published_date)==null?void 0:T.slice(0,4))||"—"})]},m.id)})})]})})}function Be(e){const t=e.length===7?`${e}-01`:e,r=new Date(t).getTime();return Number.isFinite(r)?r:0}const ge=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function xe(e){const t=new Date(e);return{year:t.getFullYear(),month:t.getMonth()}}function Vt(e,t){if(e===t){const{year:o,month:f}=xe(e);return[{timestamp:new Date(o,f,1).getTime(),key:`${o}-${f}`,label:`${ge[f]} ${o}`}]}const r=xe(e),s=xe(t);if(r.year===s.year){const o=s.month-r.month+1;let f=1;const p=12;o>p&&(f=Math.ceil(o/p));const h=[];for(let m=r.month;m<=s.month;m+=f)h.push({timestamp:new Date(r.year,m,1).getTime(),key:`${r.year}-${m}`,label:o<=3?`${ge[m]} ${r.year}`:ge[m]});return h}const n=s.year-r.year+1;let i=1;const l=12;n>l&&(i=Math.ceil(n/l));const d=[];for(let o=r.year;o<=s.year;o+=i)d.push({timestamp:new Date(o,0,1).getTime(),key:String(o),label:String(o)});return d}const Ot=({points:e,metric:t})=>{const r=ct(),[s,n]=F.useState(null),i=`${F.useId()}-label-halo`,l=880,d=320,o=60,f=30,p=40,h=50,m=e.map(c=>c.value),j=Math.min(...m),$=Math.max(...m)-j||1,_=l-o-f,T=d-p-h,v=e.map(c=>Be(c.date)),N=Math.min(...v),y=Math.max(...v),O=y-N||1,U=c=>N===y?o+_/2:o+(c-N)/O*_,G=e.map((c,u)=>{const g=U(Be(c.date)),E=(c.value-j)/$,L=p+T*(1-E);return{x:g,y:L,data:c,idx:u}}),w=G.filter(c=>c.data.isSota);let W="";if(w.length>=2){W=`M${w[0].x},${w[0].y}`;for(let c=1;c<w.length;c++){const u=w[c-1],g=w[c],E=(u.x+g.x)/2;W+=` C${E},${u.y} ${E},${g.y} ${g.x},${g.y}`}}const A=5.4,D=8,J=9,Q=c=>{const u=c.data.modelName||c.data.paperTitle||"";if(!u)return null;const g=u.length>22?u.slice(0,21)+"…":u,E=g.length*A;let L=c.x-E/2,P=c.x+E/2,H="middle";return L<o?(L=o,P=o+E,H="start"):P>l-f&&(P=l-f,L=P-E,H="end"),{x:H==="start"?o:H==="end"?l-f:c.x,y:c.y-J,text:g,anchor:H,left:L,right:P}},Z=[],C=w.length>0?Q(w[w.length-1]):null;let z=-1/0;for(let c=0;c<w.length-1;c++){const u=Q(w[c]);u&&(u.left<z+D||C&&u.right>C.left-D||(z=u.right,Z.push({x:u.x,y:u.y,text:u.text,anchor:u.anchor})))}C&&Z.push({x:C.x,y:C.y,text:C.text,anchor:C.anchor});const ee=Vt(N,y),X=5,k=c=>n(u=>u===c?null:u),K=c=>{c&&r(`/paper/${c}`)},x=(c,u)=>{const E=`${c.data.modelName||c.data.paperTitle||"Unknown model"}: ${ce(c.data.value)} on ${c.data.dateLabel}`,L=!!c.data.paperRouteId;return a.jsxs("g",{children:[u,a.jsx("circle",{cx:c.x,cy:c.y,r:"10",fill:"transparent",style:{cursor:L?"pointer":"default",outline:"none"},tabIndex:0,role:L?"link":"img","aria-label":E,onMouseEnter:()=>n(c.idx),onMouseLeave:()=>k(c.idx),onFocus:()=>n(c.idx),onBlur:()=>k(c.idx),onClick:()=>K(c.data.paperRouteId),onKeyDown:P=>{L&&(P.key==="Enter"||P.key===" ")&&(P.preventDefault(),K(c.data.paperRouteId))},children:a.jsx("title",{children:E})})]},c.idx)};return a.jsxs("svg",{width:"100%",viewBox:`0 0 ${l} ${d}`,style:{display:"block"},children:[a.jsx("defs",{children:a.jsxs("filter",{id:i,x:"-10%",y:"-30%",width:"120%",height:"160%",children:[a.jsx("feMorphology",{in:"SourceAlpha",operator:"dilate",radius:"1.5",result:"halo"}),a.jsx("feFlood",{style:{floodColor:"var(--bg-elevated)"}}),a.jsx("feComposite",{in2:"halo",operator:"in"}),a.jsxs("feMerge",{children:[a.jsx("feMergeNode",{}),a.jsx("feMergeNode",{in:"SourceGraphic"})]})]})}),a.jsx("text",{x:o-38,y:p+T/2,fontSize:"11",fontFamily:"var(--mono)",fill:"var(--ink-faint)",textAnchor:"middle",transform:`rotate(-90 ${o-38} ${p+T/2})`,children:t}),Array.from({length:X}).map((c,u)=>{const g=u/(X-1),E=p+T*(1-g),L=j+$*g;return a.jsxs("g",{children:[a.jsx("line",{x1:o,y1:E,x2:l-f,y2:E,stroke:"var(--hairline)",strokeWidth:"1"}),a.jsx("text",{x:o-10,y:E+4,fontSize:"11",fontFamily:"var(--mono)",fill:"var(--ink-faint)",textAnchor:"end",children:ce(L)})]},u)}),ee.map(c=>{const u=U(c.timestamp);return a.jsx("text",{x:u,y:d-h+18,fontSize:"11",fontFamily:"var(--mono)",fill:"var(--ink-soft)",textAnchor:"middle",children:c.label},c.key)}),G.filter(c=>!c.data.isSota).map(c=>{const u=s===c.idx;return x(c,a.jsx("circle",{cx:c.x,cy:c.y,r:u?3:2,fill:"var(--ink-faint)",opacity:u?1:.45,style:{transition:"r 0.12s ease, opacity 0.12s ease"}}))}),W&&a.jsx("path",{d:W,stroke:"var(--accent)",strokeWidth:"2",fill:"none",strokeLinejoin:"round",strokeLinecap:"round"}),w.map(c=>{const u=s===c.idx;return x(c,a.jsx("circle",{cx:c.x,cy:c.y,r:u?4.5:3,fill:u?"var(--accent)":"var(--bg-elevated)",stroke:"var(--accent)",strokeWidth:"1.5",style:{transition:"r 0.12s ease, fill 0.12s ease"}}))}),Z.map((c,u)=>a.jsx("text",{x:c.x,y:c.y,fontSize:"9.5",fontFamily:"var(--mono)",fill:"var(--ink-soft)",textAnchor:c.anchor,pointerEvents:"none",filter:`url(#${i})`,children:c.text},`label-${u}`)),s!==null&&G[s]&&(()=>{const c=G[s],u=c.data.modelName||c.data.paperTitle||"Unknown model",E=`${u.length>40?u.slice(0,39)+"…":u}: ${ce(c.data.value)}`,P=Math.max(120,Math.min(340,E.length*6.6+24)),H=30;let S=c.x-P/2;S<o&&(S=o),S+P>l-f&&(S=l-f-P);const q=c.y-H-14>=p?c.y-H-12:c.y+12;return a.jsxs("g",{pointerEvents:"none",children:[a.jsx("rect",{x:S,y:q,width:P,height:H,rx:"6",ry:"6",fill:"var(--bg-elevated)",stroke:"var(--hairline-strong)",strokeWidth:"1",style:{filter:"drop-shadow(0 2px 6px rgba(0,0,0,0.08))"}}),a.jsx("text",{x:S+12,y:q+19,fontSize:"12",fontFamily:"var(--sans)",fill:"var(--ink)",fontWeight:500,children:E})]})})()]})};function Ut(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const r=document.implementation.createHTMLDocument(),s=r.createElement("base"),n=r.createElement("a");return r.head.appendChild(s),r.body.appendChild(n),t&&(s.href=t),n.href=e,n.href}const Wt=(()=>{let e=0;const t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function Y(e){const t=[];for(let r=0,s=e.length;r<s;r++)t.push(e[r]);return t}let ne=null;function Ye(e={}){return ne||(e.includeStyleProperties?(ne=e.includeStyleProperties,ne):(ne=Y(window.getComputedStyle(document.documentElement)),ne))}function ue(e,t){const s=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return s?parseFloat(s.replace("px","")):0}function zt(e){const t=ue(e,"border-left-width"),r=ue(e,"border-right-width");return e.clientWidth+t+r}function qt(e){const t=ue(e,"border-top-width"),r=ue(e,"border-bottom-width");return e.clientHeight+t+r}function Je(e,t={}){const r=t.width||zt(e),s=t.height||qt(e);return{width:r,height:s}}function Gt(){let e,t;try{t=process}catch{}const r=t&&t.env?t.env.devicePixelRatio:null;return r&&(e=parseInt(r,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}const V=16384;function Qt(e){(e.width>V||e.height>V)&&(e.width>V&&e.height>V?e.width>e.height?(e.height*=V/e.width,e.width=V):(e.width*=V/e.height,e.height=V):e.width>V?(e.height*=V/e.width,e.width=V):(e.width*=V/e.height,e.height=V))}function Xt(e,t={}){return e.toBlob?new Promise(r=>{e.toBlob(r,t.type?t.type:"image/png",t.quality?t.quality:1)}):new Promise(r=>{const s=window.atob(e.toDataURL(t.type?t.type:void 0,t.quality?t.quality:void 0).split(",")[1]),n=s.length,i=new Uint8Array(n);for(let l=0;l<n;l+=1)i[l]=s.charCodeAt(l);r(new Blob([i],{type:t.type?t.type:"image/png"}))})}function he(e){return new Promise((t,r)=>{const s=new Image;s.onload=()=>{s.decode().then(()=>{requestAnimationFrame(()=>t(s))})},s.onerror=r,s.crossOrigin="anonymous",s.decoding="async",s.src=e})}async function Kt(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function Yt(e,t,r){const s="http://www.w3.org/2000/svg",n=document.createElementNS(s,"svg"),i=document.createElementNS(s,"foreignObject");return n.setAttribute("width",`${t}`),n.setAttribute("height",`${r}`),n.setAttribute("viewBox",`0 0 ${t} ${r}`),i.setAttribute("width","100%"),i.setAttribute("height","100%"),i.setAttribute("x","0"),i.setAttribute("y","0"),i.setAttribute("externalResourcesRequired","true"),n.appendChild(i),i.appendChild(e),Kt(n)}const B=(e,t)=>{if(e instanceof t)return!0;const r=Object.getPrototypeOf(e);return r===null?!1:r.constructor.name===t.name||B(r,t)};function Jt(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function Zt(e,t){return Ye(t).map(r=>{const s=e.getPropertyValue(r),n=e.getPropertyPriority(r);return`${r}: ${s}${n?" !important":""};`}).join(" ")}function er(e,t,r,s){const n=`.${e}:${t}`,i=r.cssText?Jt(r):Zt(r,s);return document.createTextNode(`${n}{${i}}`)}function De(e,t,r,s){const n=window.getComputedStyle(e,r),i=n.getPropertyValue("content");if(i===""||i==="none")return;const l=Wt();try{t.className=`${t.className} ${l}`}catch{return}const d=document.createElement("style");d.appendChild(er(l,r,n,s)),t.appendChild(d)}function tr(e,t,r){De(e,t,":before",r),De(e,t,":after",r)}const He="application/font-woff",Ve="image/jpeg",rr={woff:He,woff2:He,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Ve,jpeg:Ve,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function ar(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function je(e){const t=ar(e).toLowerCase();return rr[t]||""}function sr(e){return e.split(/,/)[1]}function we(e){return e.search(/^(data:)/)!==-1}function nr(e,t){return`data:${t};base64,${e}`}async function Ze(e,t,r){const s=await fetch(e,t);if(s.status===404)throw new Error(`Resource "${s.url}" not found`);const n=await s.blob();return new Promise((i,l)=>{const d=new FileReader;d.onerror=l,d.onloadend=()=>{try{i(r({res:s,result:d.result}))}catch(o){l(o)}},d.readAsDataURL(n)})}const be={};function ir(e,t,r){let s=e.replace(/\?.*/,"");return r&&(s=e),/ttf|otf|eot|woff2?/i.test(s)&&(s=s.replace(/.*\//,"")),t?`[${t}]${s}`:s}async function Se(e,t,r){const s=ir(e,t,r.includeQueryParams);if(be[s]!=null)return be[s];r.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let n;try{const i=await Ze(e,r.fetchRequestInit,({res:l,result:d})=>(t||(t=l.headers.get("Content-Type")||""),sr(d)));n=nr(i,t)}catch(i){n=r.imagePlaceholder||"";let l=`Failed to fetch resource: ${e}`;i&&(l=typeof i=="string"?i:i.message),l&&console.warn(l)}return be[s]=n,n}async function lr(e){const t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):he(t)}async function or(e,t){if(e.currentSrc){const i=document.createElement("canvas"),l=i.getContext("2d");i.width=e.clientWidth,i.height=e.clientHeight,l==null||l.drawImage(e,0,0,i.width,i.height);const d=i.toDataURL();return he(d)}const r=e.poster,s=je(r),n=await Se(r,s,t);return he(n)}async function cr(e,t){var r;try{if(!((r=e==null?void 0:e.contentDocument)===null||r===void 0)&&r.body)return await fe(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function dr(e,t){return B(e,HTMLCanvasElement)?lr(e):B(e,HTMLVideoElement)?or(e,t):B(e,HTMLIFrameElement)?cr(e,t):e.cloneNode(et(e))}const mr=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",et=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function ur(e,t,r){var s,n;if(et(t))return t;let i=[];return mr(e)&&e.assignedNodes?i=Y(e.assignedNodes()):B(e,HTMLIFrameElement)&&(!((s=e.contentDocument)===null||s===void 0)&&s.body)?i=Y(e.contentDocument.body.childNodes):i=Y(((n=e.shadowRoot)!==null&&n!==void 0?n:e).childNodes),i.length===0||B(e,HTMLVideoElement)||await i.reduce((l,d)=>l.then(()=>fe(d,r)).then(o=>{o&&t.appendChild(o)}),Promise.resolve()),t}function hr(e,t,r){const s=t.style;if(!s)return;const n=window.getComputedStyle(e);n.cssText?(s.cssText=n.cssText,s.transformOrigin=n.transformOrigin):Ye(r).forEach(i=>{let l=n.getPropertyValue(i);i==="font-size"&&l.endsWith("px")&&(l=`${Math.floor(parseFloat(l.substring(0,l.length-2)))-.1}px`),B(e,HTMLIFrameElement)&&i==="display"&&l==="inline"&&(l="block"),i==="d"&&t.getAttribute("d")&&(l=`path(${t.getAttribute("d")})`),s.setProperty(i,l,n.getPropertyPriority(i))})}function fr(e,t){B(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),B(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function pr(e,t){if(B(e,HTMLSelectElement)){const r=t,s=Array.from(r.children).find(n=>e.value===n.getAttribute("value"));s&&s.setAttribute("selected","")}}function gr(e,t,r){return B(t,Element)&&(hr(e,t,r),tr(e,t,r),fr(e,t),pr(e,t)),t}async function xr(e,t){const r=e.querySelectorAll?e.querySelectorAll("use"):[];if(r.length===0)return e;const s={};for(let i=0;i<r.length;i++){const d=r[i].getAttribute("xlink:href");if(d){const o=e.querySelector(d),f=document.querySelector(d);!o&&f&&!s[d]&&(s[d]=await fe(f,t,!0))}}const n=Object.values(s);if(n.length){const i="http://www.w3.org/1999/xhtml",l=document.createElementNS(i,"svg");l.setAttribute("xmlns",i),l.style.position="absolute",l.style.width="0",l.style.height="0",l.style.overflow="hidden",l.style.display="none";const d=document.createElementNS(i,"defs");l.appendChild(d);for(let o=0;o<n.length;o++)d.appendChild(n[o]);e.appendChild(l)}return e}async function fe(e,t,r){return!r&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(s=>dr(s,t)).then(s=>ur(e,s,t)).then(s=>gr(e,s,t)).then(s=>xr(s,t))}const tt=/url\((['"]?)([^'"]+?)\1\)/g,br=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,yr=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function wr(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function vr(e){const t=[];return e.replace(tt,(r,s,n)=>(t.push(n),r)),t.filter(r=>!we(r))}async function jr(e,t,r,s,n){try{const i=r?Ut(t,r):t,l=je(t);let d;return n||(d=await Se(i,l,s)),e.replace(wr(t),`$1${d}$3`)}catch{}return e}function Sr(e,{preferredFontFormat:t}){return t?e.replace(yr,r=>{for(;;){const[s,,n]=br.exec(r)||[];if(!n)return"";if(n===t)return`src: ${s};`}}):e}function rt(e){return e.search(tt)!==-1}async function at(e,t,r){if(!rt(e))return e;const s=Sr(e,r);return vr(s).reduce((i,l)=>i.then(d=>jr(d,l,t,r)),Promise.resolve(s))}async function ie(e,t,r){var s;const n=(s=t.style)===null||s===void 0?void 0:s.getPropertyValue(e);if(n){const i=await at(n,null,r);return t.style.setProperty(e,i,t.style.getPropertyPriority(e)),!0}return!1}async function _r(e,t){await ie("background",e,t)||await ie("background-image",e,t),await ie("mask",e,t)||await ie("-webkit-mask",e,t)||await ie("mask-image",e,t)||await ie("-webkit-mask-image",e,t)}async function kr(e,t){const r=B(e,HTMLImageElement);if(!(r&&!we(e.src))&&!(B(e,SVGImageElement)&&!we(e.href.baseVal)))return;const s=r?e.src:e.href.baseVal,n=await Se(s,je(s),t);await new Promise((i,l)=>{e.onload=i,e.onerror=t.onImageErrorHandler?(...o)=>{try{i(t.onImageErrorHandler(...o))}catch(f){l(f)}}:l;const d=e;d.decode&&(d.decode=i),d.loading==="lazy"&&(d.loading="eager"),r?(e.srcset="",e.src=n):e.href.baseVal=n})}async function Cr(e,t){const s=Y(e.childNodes).map(n=>st(n,t));await Promise.all(s).then(()=>e)}async function st(e,t){B(e,Element)&&(await _r(e,t),await kr(e,t),await Cr(e,t))}function Er(e,t){const{style:r}=e;t.backgroundColor&&(r.backgroundColor=t.backgroundColor),t.width&&(r.width=`${t.width}px`),t.height&&(r.height=`${t.height}px`);const s=t.style;return s!=null&&Object.keys(s).forEach(n=>{r[n]=s[n]}),e}const Oe={};async function Ue(e){let t=Oe[e];if(t!=null)return t;const s=await(await fetch(e)).text();return t={url:e,cssText:s},Oe[e]=t,t}async function We(e,t){let r=e.cssText;const s=/url\(["']?([^"')]+)["']?\)/g,i=(r.match(/url\([^)]+\)/g)||[]).map(async l=>{let d=l.replace(s,"$1");return d.startsWith("https://")||(d=new URL(d,e.url).href),Ze(d,t.fetchRequestInit,({result:o})=>(r=r.replace(l,`url(${o})`),[l,o]))});return Promise.all(i).then(()=>r)}function ze(e){if(e==null)return[];const t=[],r=/(\/\*[\s\S]*?\*\/)/gi;let s=e.replace(r,"");const n=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const o=n.exec(s);if(o===null)break;t.push(o[0])}s=s.replace(n,"");const i=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,l="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",d=new RegExp(l,"gi");for(;;){let o=i.exec(s);if(o===null){if(o=d.exec(s),o===null)break;i.lastIndex=d.lastIndex}else d.lastIndex=i.lastIndex;t.push(o[0])}return t}async function Nr(e,t){const r=[],s=[];return e.forEach(n=>{if("cssRules"in n)try{Y(n.cssRules||[]).forEach((i,l)=>{if(i.type===CSSRule.IMPORT_RULE){let d=l+1;const o=i.href,f=Ue(o).then(p=>We(p,t)).then(p=>ze(p).forEach(h=>{try{n.insertRule(h,h.startsWith("@import")?d+=1:n.cssRules.length)}catch(m){console.error("Error inserting rule from remote css",{rule:h,error:m})}})).catch(p=>{console.error("Error loading remote css",p.toString())});s.push(f)}})}catch(i){const l=e.find(d=>d.href==null)||document.styleSheets[0];n.href!=null&&s.push(Ue(n.href).then(d=>We(d,t)).then(d=>ze(d).forEach(o=>{l.insertRule(o,l.cssRules.length)})).catch(d=>{console.error("Error loading remote stylesheet",d)})),console.error("Error inlining remote css file",i)}}),Promise.all(s).then(()=>(e.forEach(n=>{if("cssRules"in n)try{Y(n.cssRules||[]).forEach(i=>{r.push(i)})}catch(i){console.error(`Error while reading CSS rules from ${n.href}`,i)}}),r))}function Rr(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>rt(t.style.getPropertyValue("src")))}async function Pr(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const r=Y(e.ownerDocument.styleSheets),s=await Nr(r,t);return Rr(s)}function nt(e){return e.trim().replace(/["']/g,"")}function Mr(e){const t=new Set;function r(s){(s.style.fontFamily||getComputedStyle(s).fontFamily).split(",").forEach(i=>{t.add(nt(i))}),Array.from(s.children).forEach(i=>{i instanceof HTMLElement&&r(i)})}return r(e),t}async function $r(e,t){const r=await Pr(e,t),s=Mr(e);return(await Promise.all(r.filter(i=>s.has(nt(i.style.fontFamily))).map(i=>{const l=i.parentStyleSheet?i.parentStyleSheet.href:null;return at(i.cssText,l,t)}))).join(`
2
  `)}async function Tr(e,t){const r=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await $r(e,t);if(r){const s=document.createElement("style"),n=document.createTextNode(r);s.appendChild(n),e.firstChild?e.insertBefore(s,e.firstChild):e.appendChild(s)}}async function Lr(e,t={}){const{width:r,height:s}=Je(e,t),n=await fe(e,t,!0);return await Tr(n,t),await st(n,t),Er(n,t),await Yt(n,r,s)}async function Fr(e,t={}){const{width:r,height:s}=Je(e,t),n=await Lr(e,t),i=await he(n),l=document.createElement("canvas"),d=l.getContext("2d"),o=t.pixelRatio||Gt(),f=t.canvasWidth||r,p=t.canvasHeight||s;return l.width=f*o,l.height=p*o,t.skipAutoScale||Qt(l),l.style.width=`${f}`,l.style.height=`${p}`,t.backgroundColor&&(d.fillStyle=t.backgroundColor,d.fillRect(0,0,l.width,l.height)),d.drawImage(i,0,0,l.width,l.height),l}async function Ir(e,t={}){const r=await Fr(e,t);return await Xt(r)}const ve="#ffffff";function Ar(){return typeof window>"u"?ve:window.getComputedStyle(document.documentElement).getPropertyValue("--bg-elevated").trim()||ve}function Br(e){if(typeof window>"u")return ve;const t=window.getComputedStyle(e).backgroundColor;return!t||t==="rgba(0, 0, 0, 0)"||t==="transparent"?Ar():t}async function Dr(e){var r,s;if(typeof window>"u"||!((s=(r=window.navigator)==null?void 0:r.clipboard)!=null&&s.write))throw new Error("Clipboard image copy is not supported in this browser.");if(typeof window.ClipboardItem>"u")throw new Error("Clipboard image copy is not supported in this browser.");const t=await Ir(e,{pixelRatio:2,cacheBust:!0,backgroundColor:Br(e)});if(!t)throw new Error("Failed to render screenshot.");await window.navigator.clipboard.write([new window.ClipboardItem({"image/png":t})])}const it=({targetRef:e,label:t})=>{const{toast:r}=dt(),[s,n]=F.useState("idle"),i=F.useRef(null);F.useEffect(()=>()=>{i.current!==null&&window.clearTimeout(i.current)},[]);const l=F.useCallback(async()=>{const o=e.current;if(o){n("copying"),o.classList.add("is-capturing"),o.offsetHeight,await new Promise(f=>window.requestAnimationFrame(()=>f()));try{await Dr(o),n("copied"),r({title:"Screenshot copied",description:`Image of the ${t} copied to your clipboard.`}),i.current!==null&&window.clearTimeout(i.current),i.current=window.setTimeout(()=>n("idle"),1500)}catch(f){n("idle"),r({title:"Copy failed",description:f instanceof Error&&f.message?f.message:"Could not copy the screenshot to your clipboard.",variant:"destructive"})}finally{o.classList.remove("is-capturing")}}},[e,t,r]),d=s==="copied"?"Copied":s==="copying"?"Copying…":"Copy image";return a.jsxs("button",{type:"button",className:"bm-copy-btn",onClick:l,disabled:s==="copying","aria-label":`Copy ${t} screenshot to clipboard`,title:`Copy ${t} screenshot to clipboard`,children:[a.jsx(bt,{name:"copy",size:11}),d]})};function Hr({model:e,datasetName:t,hideClosed:r,setHideClosed:s,setMetric:n}){const i=F.useRef(null),{isInitialFilteredViewLoading:l,chartPoints:d,activeMetric:o,allowedMetrics:f,orderedMetrics:p,parameterBound:h}=e;return l||d.length===0?null:a.jsxs("div",{className:"bm-card",ref:i,children:[a.jsxs("div",{className:"bm-card-screenshot-header","aria-hidden":"true",children:[a.jsxs("div",{className:"bm-card-screenshot-title",children:[a.jsx("span",{className:"bm-card-screenshot-eyebrow",children:"Benchmark"}),a.jsx("span",{className:"bm-card-screenshot-name",children:t})]}),a.jsxs("div",{className:"bm-card-screenshot-brand",children:[a.jsxs("span",{className:"brand",children:[a.jsx("span",{className:"brand-mark"}),a.jsxs("span",{className:"brand-name",children:["Papers ",a.jsx("em",{children:"With Code"})]})]}),a.jsx("span",{className:"bm-card-screenshot-url",children:"paperswithcode.co"})]})]}),a.jsxs("div",{className:"bm-card-head",children:[a.jsx("h2",{className:"bm-card-title",children:"SOTA progression"}),a.jsxs("div",{className:"bm-card-actions",children:[f.length>1&&a.jsxs("label",{className:"bm-view-select",children:[a.jsx("span",{className:"bm-view-select-label",children:"View"}),a.jsx("select",{value:o,onChange:m=>n(m.target.value),children:p.map(m=>a.jsx("option",{value:m,children:m},m))})]}),a.jsxs("label",{className:"bm-closed-toggle",title:"Show or hide evaluations of closed-source models",children:[a.jsx(Qe,{className:"bm-closed-toggle-switch",checked:!r,onCheckedChange:m=>{s(!m)},"aria-label":"Show closed-source models"}),a.jsx("span",{className:"bm-closed-toggle-label",children:"Closed-source"})]}),a.jsx(it,{targetRef:i,label:"SOTA chart"})]})]}),a.jsx("div",{className:"bm-chart-wrap",children:a.jsx(Ot,{points:d,metric:o})}),a.jsxs("div",{className:"bm-chart-foot",children:[a.jsx("span",{className:"legend-dot"}),h===void 0?"All models":"Filtered models"," over time · highlighted dots track the running best · hover for the model · click to open the paper"]})]})}const ye="filter",qe="open-source";function Vr(e){if(!e)return null;const t=e.trim(),r=t.match(/^https?:\/\/(?:www\.)?arxiv\.org\/(?:abs|pdf)\/([^/?#]+)/i);if(r!=null&&r[1])return r[1].replace(/\.pdf$/i,"");const s=t.match(/^(?:https?:\/\/(?:www\.)?paperswithcode\.co)?\/paper\/([^/?#]+)/i);return(s==null?void 0:s[1])??null}function Ge(e,t){return e?a.jsx(de,{title:e}):t||"—"}const ca=()=>{var _e,ke,Ce,Ee,Ne,Re,Pe,Me;const{datasetSlug:e}=mt(),[t,r]=ut(),s=t.get("task")||void 0,n=t.get("eval")||void 0,i=Ct(t.get("max_parameters_exclusive")),{preferences:l,setHideClosedSourceEvals:d}=pt(),o=t.get(ye)===qe||l.hide_closed_source_evals,f=F.useRef(null),p=F.useRef(!1),h=F.useRef(null),[m,j]=F.useState(null),I=`${e}:${s||""}`,$=m===I,[_,T]=F.useState(1),v=te(se.datasetPage(e,{include_paper:!0,task:s,is_open:o?!0:void 0}));_t(v.data&&kt(v.data.name));const N=te(ht.byDataset((_e=v.data)==null?void 0:_e.id)),y=te(se.datasetTasks((ke=v.data)==null?void 0:ke.id)),O=te(se.metricDirections()),U=Ke(y.data||[],N.data||[],s,n),G=te({...se.taskBenchmarkTrends(U??void 0,{limit:100,min_recent_papers:0,is_open:o?!0:void 0}),enabled:!!((Ce=v.data)!=null&&Ce.id)}),w=F.useMemo(()=>{var b;return(((b=G.data)==null?void 0:b.results)||[]).find(M=>{var R;return M.id===((R=v.data)==null?void 0:R.id)})||null},[G.data,(Ee=v.data)==null?void 0:Ee.id]),W=te(se.leaderboardMetrics((Ne=v.data)==null?void 0:Ne.id,U??void 0)),A=It({evaluations:N.data||[],tasks:y.data||[],configuredMetrics:W.data||[],directions:O.data,initialSummary:(Re=v.data)==null?void 0:Re.leaderboard_summary,taskSlug:s,highlightEvalId:n,metric:t.get("metric")||void 0,hideClosed:o,parameterBound:i,showMoreMetrics:$,fittingMetricCount:_,ready:{evaluations:N.isSuccess,tasks:y.isSuccess,directions:O.isSuccess,metrics:W.isSuccess}}),{primaryTask:D,hiddenClosedEvals:J,hiddenClosedTopEval:Q,isSummaryLoading:Z,displayedMetric:C,displayedSota:z,displayedSotaModel:ee,isInitialFilteredViewLoading:X,highlightedEval:k,hasParameterMetadata:K,parameterCoverage:x,orderedMetrics:c}=A;F.useEffect(()=>{if(p.current||!n||!N.data||N.data.length===0)return;const b=f.current;b&&(p.current=!0,b.scrollIntoView({behavior:"smooth",block:"start"}))},[n,N.data]);const u=te(se.area(D==null?void 0:D.area_id));if(v.isLoading)return a.jsxs("div",{className:"page",children:[a.jsx(me,{className:"h-12 w-1/2 mb-6"}),a.jsx(me,{className:"h-64 w-full"})]});if(!v.data)return St([v.error],"Failed to load this benchmark. Please try again.")??a.jsx(jt,{});const g=v.data,E=!!g.supports_harness,L=b=>{r(M=>{const R=new URLSearchParams(M);return b===void 0?R.delete("max_parameters_exclusive"):R.set("max_parameters_exclusive",String(b)),R})},P=b=>{r(M=>{const R=new URLSearchParams(M);return b?R.set(ye,qe):R.delete(ye),R}),d(b)},H=b=>{r(M=>{const R=new URLSearchParams(M);return R.set("metric",b),R})},S=g.introducing_paper??void 0,re=(S==null?void 0:S.arxiv_id)||(S==null?void 0:S.id)||Vr(g.paper_url),q=(S==null?void 0:S.title)||g.introducing_paper_title||null,ae=((Pe=S==null?void 0:S.published)==null?void 0:Pe.slice(0,4))||g.introduced_year||null,lt=!!re||!!g.paper_url||!!q,ot=S!=null&&S.arxiv_id||(Me=g.paper_url)!=null&&Me.match(/^https?:\/\/(?:www\.)?arxiv\.org\//i)?`arXiv:${re}`:`Paper ${re}`;return a.jsx("div",{className:"page",children:a.jsxs("div",{className:"bm-page",children:[a.jsxs("div",{className:"breadcrumb",children:[a.jsx(le,{to:"/tasks",children:"Tasks"}),u.data&&a.jsxs(a.Fragment,{children:[a.jsx("span",{className:"sep",children:"/"}),a.jsx(le,{to:`/tasks#area-${vt(u.data.name)}`,children:u.data.name})]}),D&&a.jsxs(a.Fragment,{children:[a.jsx("span",{className:"sep",children:"/"}),a.jsx(le,{to:`/tasks/${D.slug||D.id}`,children:D.name})]}),a.jsx("span",{className:"sep",children:"/"}),a.jsx("span",{style:{color:"var(--accent-text)"},children:g.name})]}),a.jsxs("div",{className:"bm-title-row",children:[a.jsx("h1",{className:"bm-title",children:g.name}),w&&a.jsxs("div",{className:"bm-title-trend","aria-label":`${g.name} reporting trend`,children:[a.jsx(yt,{history:w.history,benchmarkName:w.name}),a.jsxs("span",{className:"bm-title-trend-summary",children:[a.jsx("strong",{children:w.recent_paper_count})," ",w.recent_paper_count===1?"paper":"papers",w.rate_change==null?w.recent_paper_count>0&&a.jsx("span",{className:"benchmark-trend-change is-new",children:"new"}):a.jsxs("span",{className:`benchmark-trend-change ${w.rate_change>=1?"is-up":"is-down"}`,children:[w.rate_change>=1?"↑":"↓"," ",w.rate_change.toFixed(1),"×"]})]})]})]}),a.jsx(ft,{kind:"benchmark",entityId:g.id}),a.jsxs("div",{className:"bm-subtitle",children:[Z?a.jsx(me,{className:"h-5 w-64 bm-summary-skeleton","aria-label":"Loading benchmark summary"}):a.jsxs("span",{children:[C&&a.jsxs(a.Fragment,{children:[a.jsx("span",{className:"metric-tag",children:C}),a.jsx("span",{style:{color:"var(--hairline-strong)",margin:"0 8px"},children:"·"})]}),ee?a.jsxs("span",{children:["Best: ",a.jsx("span",{className:"best-name",children:ce(z)})," by ",a.jsx("span",{className:"best-name",style:{fontStyle:"normal"},children:ee})]}):a.jsxs("span",{children:[A.rows.length," evaluations"]})]}),g.hf_url&&a.jsxs("a",{className:"bm-action-btn",href:g.hf_url,target:"_blank",rel:"noopener noreferrer",children:[a.jsx("span",{"aria-hidden":"true",children:"🤗"})," View on Hugging Face"]})]}),g.description&&a.jsx("p",{className:"bm-description",children:g.description}),o&&J.length>0&&a.jsxs("div",{className:"bm-hidden-closed-notice",children:[a.jsxs("span",{children:[J.length," closed-source ",J.length===1?"row is":"rows are"," hidden",Q!=null&&Q.model_name?a.jsxs(a.Fragment,{children:[", including ",a.jsx("strong",{children:Q.model_name})]}):null,"."]}),a.jsx("button",{type:"button",className:"bm-hidden-closed-action",onClick:()=>P(!1),children:"Show closed-source"})]}),lt&&a.jsxs("div",{className:"method-source",style:{marginTop:0,marginBottom:18},children:[a.jsx("span",{className:"method-source-label",children:"Source"}),re?a.jsxs(le,{to:`/paper/${re}`,target:"_blank",rel:"noopener noreferrer",className:"method-source-link",children:[a.jsx("span",{className:"method-source-title",children:q?a.jsx(de,{title:q}):ot}),ae&&a.jsx("span",{className:"method-source-meta",children:ae})]}):g.paper_url?a.jsxs("a",{href:wt(g.paper_url)??void 0,target:"_blank",rel:"noopener noreferrer",className:"method-source-link",children:[a.jsx("span",{className:"method-source-title",children:q?a.jsx(de,{title:q}):g.paper_url}),ae&&a.jsx("span",{className:"method-source-meta",children:ae})]}):a.jsxs("div",{className:"method-source-link is-static",children:[a.jsx("span",{className:"method-source-title",children:q?a.jsx(de,{title:q}):null}),ae&&a.jsx("span",{className:"method-source-meta",children:ae})]})]}),a.jsx(Hr,{model:A,datasetName:g.name,hideClosed:o,setHideClosed:P,setMetric:H}),k&&(()=>{var Te,Le;const b=k.paper_arxiv_id||k.paper_id,M=k.paper_title||(k.paper_arxiv_id?`arXiv:${k.paper_arxiv_id}`:null),R=k.best_metric&&((Te=k.metrics)==null?void 0:Te[k.best_metric])!==void 0?k.best_metric:A.activeMetric,$e=(Le=k.metrics)==null?void 0:Le[R];return a.jsxs("div",{className:"bm-highlight-banner",role:"status",children:[a.jsx("span",{className:"bm-highlight-dot","aria-hidden":"true"}),a.jsxs("div",{className:"bm-highlight-text",children:[a.jsx("span",{className:"bm-highlight-label",children:"Comparing result"}),a.jsxs("span",{className:"bm-highlight-paper",children:[k.model_name||M||"—",k.harness?` · ${k.harness}`:""]}),a.jsxs("span",{className:"bm-highlight-meta",children:[$e!==void 0&&R?a.jsxs(a.Fragment,{children:[R,": ",ce($e),M?" · ":""]}):null,b?a.jsx(le,{to:`/paper/${b}`,children:Ge(k.paper_title,M)}):Ge(k.paper_title,M)]})]})]})})(),a.jsxs("div",{className:"bm-card",ref:h,children:[a.jsxs("div",{className:"bm-card-screenshot-header","aria-hidden":"true",children:[a.jsxs("div",{className:"bm-card-screenshot-title",children:[a.jsx("span",{className:"bm-card-screenshot-eyebrow",children:"Benchmark"}),a.jsx("span",{className:"bm-card-screenshot-name",children:g.name})]}),a.jsxs("div",{className:"bm-card-screenshot-brand",children:[a.jsxs("span",{className:"brand",children:[a.jsx("span",{className:"brand-mark"}),a.jsxs("span",{className:"brand-name",children:["Papers ",a.jsx("em",{children:"With Code"})]})]}),a.jsx("span",{className:"bm-card-screenshot-url",children:"paperswithcode.co"})]})]}),a.jsxs("div",{className:"bm-card-head",children:[a.jsx("h2",{className:"bm-card-title",children:"Leaderboard"}),a.jsxs("div",{className:"bm-card-actions",children:[A.allowedMetrics.length>1&&a.jsxs("label",{className:"bm-view-select",children:[a.jsx("span",{className:"bm-view-select-label",children:"View"}),a.jsx("select",{value:A.activeMetric,onChange:b=>H(b.target.value),children:c.map(b=>a.jsx("option",{value:b,children:b},b))})]}),a.jsxs("label",{className:"bm-closed-toggle",title:"Show or hide evaluations of closed-source models",children:[a.jsx(Qe,{className:"bm-closed-toggle-switch",checked:!o,onCheckedChange:b=>P(!b),"aria-label":"Show closed-source models"}),a.jsx("span",{className:"bm-closed-toggle-label",children:"Closed-source"})]}),!X&&!K&&N.isSuccess?a.jsx("span",{className:"bm-parameter-unavailable",children:"Parameter metadata unavailable"}):null,a.jsx(it,{targetRef:h,label:"leaderboard"})]})]}),!X&&K&&a.jsxs("div",{className:"bm-parameter-filter-bar",children:[a.jsx("span",{className:"bm-parameter-filter-label",children:"Parameters Size"}),a.jsx("div",{className:"bm-parameter-filter-options",role:"group","aria-label":"Filter leaderboard by parameter size",children:A.parameterFilters.map(b=>{const{selected:M,disabled:R}=b;return a.jsx("button",{type:"button",className:`bm-parameter-filter-option${M?" is-active":""}`,"aria-pressed":M,disabled:R,onClick:()=>L(b.maxParametersExclusive),children:b.label},b.label)})}),a.jsxs("span",{className:"bm-parameter-coverage",children:["Parameters known for ",x.parameter_coverage_known," of ",x.parameter_coverage_total," entries"]})]}),N.isLoading||X?a.jsx("div",{style:{padding:16},children:Array.from({length:5}).map((b,M)=>a.jsx(me,{className:"h-10 w-full mb-2"},M))}):A.rows.length===0?i?a.jsxs("div",{className:"no-results",children:["No known parameter counts match this filter. "," ",a.jsx("button",{type:"button",className:"bm-empty-filter-action",onClick:()=>L(void 0),children:"Show all"})]}):a.jsx("div",{className:"no-results",children:"No evaluations submitted yet."}):a.jsxs(a.Fragment,{children:[c.length>_&&a.jsxs("div",{className:"bm-metric-columns-control",children:[a.jsx("button",{type:"button",className:"bm-metric-columns-toggle","aria-expanded":$,"aria-controls":"benchmark-leaderboard",onClick:()=>j($?null:I),children:$?"Show fewer metrics":`Show more metrics (${c.length-_})`}),$&&a.jsx("span",{children:"Scroll metrics horizontally; model and paper details stay visible."})]}),a.jsx(Ht,{datasetName:g.name,model:A,showHarness:E,setMetric:H,highlightRowRef:f,onFittingMetricCountChange:T})]})]})]})})};export{ca as default};
assets/{BenchmarkTrendSparkline-C8X1e25R.js → BenchmarkTrendSparkline-CXgXdB42.js} RENAMED
@@ -1 +1 @@
1
- import{i as C,j as t}from"./index-DL_JM2Ot.js";const g=112,p=42,o=5,i=5,b=new Intl.DateTimeFormat("en",{month:"short",timeZone:"UTC"}),y=(e,d)=>{const r=new Date(`${e}T00:00:00Z`),n=new Date(`${d}T00:00:00Z`);return r.getUTCMonth()===n.getUTCMonth()?`${b.format(r)} ${r.getUTCDate()}–${n.getUTCDate()}`:`${b.format(r)} ${r.getUTCDate()}–${b.format(n)} ${n.getUTCDate()}`},I=({history:e,benchmarkName:d,interactive:r=!1})=>{const[n,x]=C.useState(null),h=e.map(s=>s.paper_count),M=Math.max(1,...h),f=g-o*2,T=p-i*2,v=h.length>1?f/(h.length-1):0,a=h.map((s,c)=>({x:o+v*c,y:i+T-s/M*T})),$=a.map(({x:s,y:c})=>`${s},${c}`).join(" "),_=a.length?`${o},${p-i} ${$} ${a[a.length-1].x},${p-i}`:"",D=h.reduce((s,c)=>s+c,0),u=49,N=14,m=n==null?null:a[n],j=m?Math.min(g-o-u,Math.max(o,m.x-u/2)):0,k=m?m.y>p/2?m.y-N-3:m.y+3:0;return t.jsxs("svg",{className:`benchmark-trend-sparkline${r?" is-interactive":""}`,viewBox:`0 0 ${g} ${p}`,role:r?"group":"img","aria-label":`${d}: ${D} reporting papers across the displayed trend history`,children:[t.jsxs("title",{children:[d,": ",D," reporting papers across the displayed trend history"]}),t.jsx("line",{className:"benchmark-trend-axis",x1:o,y1:p-i,x2:g-o,y2:p-i}),t.jsx("line",{className:"benchmark-trend-axis",x1:o,y1:i,x2:o,y2:p-i}),_&&t.jsx("polygon",{className:"benchmark-trend-area",points:_}),$&&t.jsx("polyline",{className:"benchmark-trend-line",points:$}),r?a.map(({x:s,y:c},l)=>t.jsxs("g",{className:"benchmark-trend-point",tabIndex:0,role:"img","aria-label":`${y(e[l].start_date,e[l].end_date)}: ${e[l].paper_count} ${e[l].paper_count===1?"paper":"papers"}`,onMouseEnter:()=>x(l),onMouseLeave:()=>x(null),onFocus:()=>x(l),onBlur:()=>x(null),children:[t.jsx("circle",{className:"benchmark-trend-point-hit",cx:s,cy:c,r:"5"}),t.jsx("circle",{className:"benchmark-trend-point-mark",cx:s,cy:c,r:"1.8"})]},`${e[l].start_date}-${e[l].end_date}`)):a.length>0&&t.jsx("circle",{className:"benchmark-trend-dot",cx:a[a.length-1].x,cy:a[a.length-1].y,r:"2.6"}),m&&n!=null&&t.jsxs("g",{className:"benchmark-trend-tooltip",pointerEvents:"none",children:[t.jsx("rect",{x:j,y:k,width:u,height:N,rx:"2"}),t.jsx("text",{x:j+3,y:k+5.4,children:y(e[n].start_date,e[n].end_date)}),t.jsxs("text",{className:"benchmark-trend-tooltip-value",x:j+3,y:k+11,children:[e[n].paper_count," ",e[n].paper_count===1?"paper":"papers"]})]})]})};export{I as B};
 
1
+ import{i as C,j as t}from"./index-CrYWgAoM.js";const g=112,p=42,o=5,i=5,b=new Intl.DateTimeFormat("en",{month:"short",timeZone:"UTC"}),y=(e,d)=>{const r=new Date(`${e}T00:00:00Z`),n=new Date(`${d}T00:00:00Z`);return r.getUTCMonth()===n.getUTCMonth()?`${b.format(r)} ${r.getUTCDate()}–${n.getUTCDate()}`:`${b.format(r)} ${r.getUTCDate()}–${b.format(n)} ${n.getUTCDate()}`},I=({history:e,benchmarkName:d,interactive:r=!1})=>{const[n,x]=C.useState(null),h=e.map(s=>s.paper_count),M=Math.max(1,...h),f=g-o*2,T=p-i*2,v=h.length>1?f/(h.length-1):0,a=h.map((s,c)=>({x:o+v*c,y:i+T-s/M*T})),$=a.map(({x:s,y:c})=>`${s},${c}`).join(" "),_=a.length?`${o},${p-i} ${$} ${a[a.length-1].x},${p-i}`:"",D=h.reduce((s,c)=>s+c,0),u=49,N=14,m=n==null?null:a[n],j=m?Math.min(g-o-u,Math.max(o,m.x-u/2)):0,k=m?m.y>p/2?m.y-N-3:m.y+3:0;return t.jsxs("svg",{className:`benchmark-trend-sparkline${r?" is-interactive":""}`,viewBox:`0 0 ${g} ${p}`,role:r?"group":"img","aria-label":`${d}: ${D} reporting papers across the displayed trend history`,children:[t.jsxs("title",{children:[d,": ",D," reporting papers across the displayed trend history"]}),t.jsx("line",{className:"benchmark-trend-axis",x1:o,y1:p-i,x2:g-o,y2:p-i}),t.jsx("line",{className:"benchmark-trend-axis",x1:o,y1:i,x2:o,y2:p-i}),_&&t.jsx("polygon",{className:"benchmark-trend-area",points:_}),$&&t.jsx("polyline",{className:"benchmark-trend-line",points:$}),r?a.map(({x:s,y:c},l)=>t.jsxs("g",{className:"benchmark-trend-point",tabIndex:0,role:"img","aria-label":`${y(e[l].start_date,e[l].end_date)}: ${e[l].paper_count} ${e[l].paper_count===1?"paper":"papers"}`,onMouseEnter:()=>x(l),onMouseLeave:()=>x(null),onFocus:()=>x(l),onBlur:()=>x(null),children:[t.jsx("circle",{className:"benchmark-trend-point-hit",cx:s,cy:c,r:"5"}),t.jsx("circle",{className:"benchmark-trend-point-mark",cx:s,cy:c,r:"1.8"})]},`${e[l].start_date}-${e[l].end_date}`)):a.length>0&&t.jsx("circle",{className:"benchmark-trend-dot",cx:a[a.length-1].x,cy:a[a.length-1].y,r:"2.6"}),m&&n!=null&&t.jsxs("g",{className:"benchmark-trend-tooltip",pointerEvents:"none",children:[t.jsx("rect",{x:j,y:k,width:u,height:N,rx:"2"}),t.jsx("text",{x:j+3,y:k+5.4,children:y(e[n].start_date,e[n].end_date)}),t.jsxs("text",{className:"benchmark-trend-tooltip-value",x:j+3,y:k+11,children:[e[n].paper_count," ",e[n].paper_count===1?"paper":"papers"]})]})]})};export{I as B};
assets/{CatalogEntityPreviewLink-C7EwyTwf.js → CatalogEntityPreviewLink-DwN4bhsl.js} RENAMED
@@ -1 +1 @@
1
- import{ar as d,ab as u,b as m,j as s,L as h,ao as g,O as l}from"./index-DL_JM2Ot.js";import{H as f,a as w,b as k}from"./hover-card-9NlCSWPH.js";const y=new Set(["github.com","www.github.com"]);function R(r){let a;try{a=new URL(r)}catch{return null}if(a.protocol!=="https:"||!y.has(a.hostname))return null;const n=a.pathname.split("/").filter(Boolean);if(n.length!==2)return null;let t,e;try{t=decodeURIComponent(n[0]),e=decodeURIComponent(n[1]).replace(/\.git$/,"")}catch{return null}if(!/^[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,38})$/.test(t)||!/^[a-zA-Z0-9._-]{1,100}$/.test(e))return null;const o=`${t}/${e}`,i=[t,e].map(encodeURIComponent).join("/");return{owner:t,repository:e,repoId:o,url:`https://github.com/${i}`}}async function E(r,a){const n=[r.owner,r.repository].map(encodeURIComponent).join("/"),t=await fetch(d(`/api/v1/github/repositories/${n}/preview`),{signal:a});if(!t.ok)throw new Error(`GitHub repository lookup failed: ${t.status}`);const e=await t.json();return{description:typeof e.description=="string"?e.description:null,stars:typeof e.stars=="number"?e.stars:0,forks:typeof e.forks=="number"?e.forks:0,language:typeof e.language=="string"?e.language:null,archived:e.archived===!0,avatarUrl:typeof e.avatar_url=="string"?e.avatar_url:""}}function H(r){const a=r.trim();if(!a)return null;let n=a;!n.startsWith("http://")&&!n.startsWith("https://")&&(n=`https://${n}`);try{const t=new URL(n);if(t.hostname.toLowerCase()!=="github.com")return null;const e=t.pathname.split("/").filter(Boolean);if(e.length<2)return null;const o=e[0].toLowerCase();let i=e[1].toLowerCase();return i.endsWith(".git")&&(i=i.slice(0,-4)),`https://github.com/${o}/${i}`}catch{return null}}const v=/^(task|method|benchmark):([A-Za-z0-9][A-Za-z0-9._-]{0,199})$/;function L(r){const a=v.exec(r);return a?{kind:a[1],slug:a[2]}:null}const T=r=>/^(task|method|benchmark):/.test(r),b={task:"/tasks/",method:"/methods/",benchmark:"/benchmark/",framework:"/papers?framework="},C={task:"Task",method:"Method",benchmark:"Benchmark",framework:"Framework"},_={task:["paper","papers"],method:["paper","papers"],benchmark:["entry","entries"],framework:["paper","papers"]};async function U({kind:r,slug:a}){if(r==="task"){const t=await l.getTask(a);return{name:t.name,description:t.description??null,imageUrl:t.image_url??null,count:t.paper_count??null,detail:null}}if(r==="method"){const t=await l.getMethod(a);return{name:t.full_name||t.name,description:t.description??null,imageUrl:t.image_url??null,count:t.paper_count??null,detail:t.introduced_year?`Introduced ${t.introduced_year}`:null}}if(r==="framework"){const e=(await l.frameworkCatalog()).domains.flatMap(o=>o.categories).flatMap(o=>o.frameworks).find(o=>o.slug===a);if(!e)throw new Error(`Unknown framework ${a}`);return{name:e.name,description:e.description,imageUrl:null,count:e.paper_count,detail:e.organization_name??null}}const n=await l.getDatasetBySlug(a);return{name:n.full_name||n.name,description:n.description??null,imageUrl:null,count:n.paper_count??null,detail:n.introduced_year?`Introduced ${n.introduced_year}`:null}}function j(r){return r.replace(/!?\[([^\]]*)\]\([^)]*\)/g,"$1").replace(/[*_`#>]+/g,"").replace(/\s+/g," ").trim()}const $=()=>typeof window.matchMedia=="function"&&window.matchMedia("(hover: none), (pointer: coarse)").matches,x=({kind:r,preview:a})=>{const[n,t]=u.useState(!1),e=g(a.imageUrl),o=[a.count!=null?`${a.count.toLocaleString()} ${_[r][a.count===1?0:1]}`:null,a.detail].filter(Boolean);return s.jsxs("div",{className:"catalog-preview-card",children:[e&&!n&&s.jsx("img",{className:"catalog-preview-image","data-testid":"catalog-preview-image",src:e,alt:"",loading:"lazy",decoding:"async",onError:()=>t(!0)}),s.jsxs("div",{className:"catalog-preview-meta",children:[s.jsx("span",{className:"catalog-preview-kind",children:C[r]}),s.jsx("strong",{children:a.name}),a.description&&s.jsx("p",{children:j(a.description)}),o.length>0&&s.jsx("span",{className:"catalog-preview-stats",children:o.join(" · ")})]})]})},z=({entity:r,children:a,className:n="chat-paper-link",newTab:t=!0,initialPreview:e})=>{const[o,i]=u.useState(!1),c=m({queryKey:["chat-catalog-preview",r.kind,r.slug],queryFn:()=>U(r),initialData:e,enabled:o&&!e,staleTime:10*60*1e3,gcTime:30*60*1e3,retry:!1});return s.jsxs(f,{open:o,onOpenChange:p=>{(!p||!$())&&i(p)},openDelay:150,closeDelay:100,children:[s.jsx(w,{asChild:!0,children:s.jsx(h,{className:n,to:`${b[r.kind]}${encodeURIComponent(r.slug)}`,target:t?"_blank":void 0,rel:t?"noopener noreferrer":void 0,onClick:()=>i(!1),children:a})}),s.jsx(k,{className:"catalog-preview-pop",side:"bottom",align:"start",collisionPadding:12,children:c.data?s.jsx(x,{kind:r.kind,preview:c.data}):c.isError?s.jsx("div",{className:"paper-preview-status",children:"Preview unavailable"}):s.jsx("div",{className:"paper-preview-status","aria-live":"polite",children:"Loading preview…"})})]})};export{z as C,R as a,E as f,T as i,H as n,L as p};
 
1
+ import{ar as d,ab as u,b as m,j as s,L as h,ao as g,O as l}from"./index-CrYWgAoM.js";import{H as f,a as w,b as k}from"./hover-card-Cwr5IQpG.js";const y=new Set(["github.com","www.github.com"]);function R(r){let a;try{a=new URL(r)}catch{return null}if(a.protocol!=="https:"||!y.has(a.hostname))return null;const n=a.pathname.split("/").filter(Boolean);if(n.length!==2)return null;let t,e;try{t=decodeURIComponent(n[0]),e=decodeURIComponent(n[1]).replace(/\.git$/,"")}catch{return null}if(!/^[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,38})$/.test(t)||!/^[a-zA-Z0-9._-]{1,100}$/.test(e))return null;const o=`${t}/${e}`,i=[t,e].map(encodeURIComponent).join("/");return{owner:t,repository:e,repoId:o,url:`https://github.com/${i}`}}async function E(r,a){const n=[r.owner,r.repository].map(encodeURIComponent).join("/"),t=await fetch(d(`/api/v1/github/repositories/${n}/preview`),{signal:a});if(!t.ok)throw new Error(`GitHub repository lookup failed: ${t.status}`);const e=await t.json();return{description:typeof e.description=="string"?e.description:null,stars:typeof e.stars=="number"?e.stars:0,forks:typeof e.forks=="number"?e.forks:0,language:typeof e.language=="string"?e.language:null,archived:e.archived===!0,avatarUrl:typeof e.avatar_url=="string"?e.avatar_url:""}}function H(r){const a=r.trim();if(!a)return null;let n=a;!n.startsWith("http://")&&!n.startsWith("https://")&&(n=`https://${n}`);try{const t=new URL(n);if(t.hostname.toLowerCase()!=="github.com")return null;const e=t.pathname.split("/").filter(Boolean);if(e.length<2)return null;const o=e[0].toLowerCase();let i=e[1].toLowerCase();return i.endsWith(".git")&&(i=i.slice(0,-4)),`https://github.com/${o}/${i}`}catch{return null}}const v=/^(task|method|benchmark):([A-Za-z0-9][A-Za-z0-9._-]{0,199})$/;function L(r){const a=v.exec(r);return a?{kind:a[1],slug:a[2]}:null}const T=r=>/^(task|method|benchmark):/.test(r),b={task:"/tasks/",method:"/methods/",benchmark:"/benchmark/",framework:"/papers?framework="},C={task:"Task",method:"Method",benchmark:"Benchmark",framework:"Framework"},_={task:["paper","papers"],method:["paper","papers"],benchmark:["entry","entries"],framework:["paper","papers"]};async function U({kind:r,slug:a}){if(r==="task"){const t=await l.getTask(a);return{name:t.name,description:t.description??null,imageUrl:t.image_url??null,count:t.paper_count??null,detail:null}}if(r==="method"){const t=await l.getMethod(a);return{name:t.full_name||t.name,description:t.description??null,imageUrl:t.image_url??null,count:t.paper_count??null,detail:t.introduced_year?`Introduced ${t.introduced_year}`:null}}if(r==="framework"){const e=(await l.frameworkCatalog()).domains.flatMap(o=>o.categories).flatMap(o=>o.frameworks).find(o=>o.slug===a);if(!e)throw new Error(`Unknown framework ${a}`);return{name:e.name,description:e.description,imageUrl:null,count:e.paper_count,detail:e.organization_name??null}}const n=await l.getDatasetBySlug(a);return{name:n.full_name||n.name,description:n.description??null,imageUrl:null,count:n.paper_count??null,detail:n.introduced_year?`Introduced ${n.introduced_year}`:null}}function j(r){return r.replace(/!?\[([^\]]*)\]\([^)]*\)/g,"$1").replace(/[*_`#>]+/g,"").replace(/\s+/g," ").trim()}const $=()=>typeof window.matchMedia=="function"&&window.matchMedia("(hover: none), (pointer: coarse)").matches,x=({kind:r,preview:a})=>{const[n,t]=u.useState(!1),e=g(a.imageUrl),o=[a.count!=null?`${a.count.toLocaleString()} ${_[r][a.count===1?0:1]}`:null,a.detail].filter(Boolean);return s.jsxs("div",{className:"catalog-preview-card",children:[e&&!n&&s.jsx("img",{className:"catalog-preview-image","data-testid":"catalog-preview-image",src:e,alt:"",loading:"lazy",decoding:"async",onError:()=>t(!0)}),s.jsxs("div",{className:"catalog-preview-meta",children:[s.jsx("span",{className:"catalog-preview-kind",children:C[r]}),s.jsx("strong",{children:a.name}),a.description&&s.jsx("p",{children:j(a.description)}),o.length>0&&s.jsx("span",{className:"catalog-preview-stats",children:o.join(" · ")})]})]})},z=({entity:r,children:a,className:n="chat-paper-link",newTab:t=!0,initialPreview:e})=>{const[o,i]=u.useState(!1),c=m({queryKey:["chat-catalog-preview",r.kind,r.slug],queryFn:()=>U(r),initialData:e,enabled:o&&!e,staleTime:10*60*1e3,gcTime:30*60*1e3,retry:!1});return s.jsxs(f,{open:o,onOpenChange:p=>{(!p||!$())&&i(p)},openDelay:150,closeDelay:100,children:[s.jsx(w,{asChild:!0,children:s.jsx(h,{className:n,to:`${b[r.kind]}${encodeURIComponent(r.slug)}`,target:t?"_blank":void 0,rel:t?"noopener noreferrer":void 0,onClick:()=>i(!1),children:a})}),s.jsx(k,{className:"catalog-preview-pop",side:"bottom",align:"start",collisionPadding:12,children:c.data?s.jsx(x,{kind:r.kind,preview:c.data}):c.isError?s.jsx("div",{className:"paper-preview-status",children:"Preview unavailable"}):s.jsx("div",{className:"paper-preview-status","aria-live":"polite",children:"Loading preview…"})})]})};export{z as C,R as a,E as f,T as i,H as n,L as p};
assets/{ChatView-CMpbQGIz.js → ChatView-8yB6zv-u.js} RENAMED
@@ -1,4 +1,4 @@
1
- var $t=Object.defineProperty;var Yt=(t,e,n)=>e in t?$t(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var $=(t,e,n)=>Yt(t,typeof e!="symbol"?e+"":e,n);import{d as Gt,i as o,j as s,X as kt,J as At,b as je,L as It,aj as Xt,ak as Jt,al as Zt,am as pt,ab as Ue,f as Mt,n as Tt,E as Nt,o as Dt,l as es,a as Ft,u as ts,A as ss}from"./index-DL_JM2Ot.js";import{C as ns,U as mt,b as rs,f as Ee,A as is,a as as,c as os,g as cs,h as ls,i as qe,j as us,k as gt,t as ds,l as hs,E as fs,m as ps,n as ms,o as gs,p as yt,q as bt}from"./chatLifecycle-BTYJyrKZ.js";import{k as Te,l as ys,m as bs,n as Lt,T as wt,h as Bt,o as Me,r as Qe,s as ws,t as vs,v as he,D as $e,w as Ss,x as xs,y as _s,z as Es,B as Cs,C as Rs,E as js,F as ks,G as As,H as tt,I as Is,J as vt,K as Ot,L as St,M as Ye,j as Ms,N as Ts,O as Ns,Q as qt,R as Ds,U as Fs,V as Ls,W as Bs,S as Os,X as Pt}from"./index-C_jL3wwd.js";import{c as ne}from"./chat-BY6jjJTm.js";import{M as qs}from"./McpShowcase-CWi38Cpu.js";import{S as Ps}from"./share-2-DsuTyobU.js";import{u as He}from"./useMutation-BhCRLa1t.js";import{I as Us}from"./Icon-N8z7DeBC.js";import{m as Hs}from"./mlIntern-DidbK0Ey.js";import{u as Vs,O as Ks}from"./openrouter-Cr6qzWUe.js";/* empty css */import"./hover-card-9NlCSWPH.js";import"./CatalogEntityPreviewLink-C7EwyTwf.js";import"./github-4Cp2qYOr.js";import"./file-text-Cw24822N.js";import"./PaperPreviewLink-hxmZ3UPf.js";import"./index-Duxgh9kf.js";import"./index-BPdKbxHa.js";import"./index-CT4oVNDi.js";import"./katex-DkKDou_j.js";import"./thumbs-up-DfqmZFje.js";import"./copy-DlnZdlrV.js";import"./arrow-left-C4iqM9DK.js";import"./external-link-BQKIF2kZ.js";import"./plus-Bou0iMb2.js";import"./search-BCfgkzCD.js";import"./chevron-up-oWUehGsz.js";import"./AuthorAvatar-CrqIFv87.js";import"./trash-2-D_ry9pGs.js";import"./AgentLogos-e4Q9yKFL.js";/**
2
  * @license lucide-react v0.462.0 - ISC
3
  *
4
  * This source code is licensed under the ISC license.
 
1
+ var $t=Object.defineProperty;var Yt=(t,e,n)=>e in t?$t(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var $=(t,e,n)=>Yt(t,typeof e!="symbol"?e+"":e,n);import{d as Gt,i as o,j as s,X as kt,J as At,b as je,L as It,aj as Xt,ak as Jt,al as Zt,am as pt,ab as Ue,f as Mt,n as Tt,E as Nt,o as Dt,l as es,a as Ft,u as ts,A as ss}from"./index-CrYWgAoM.js";import{C as ns,U as mt,b as rs,f as Ee,A as is,a as as,c as os,g as cs,h as ls,i as qe,j as us,k as gt,t as ds,l as hs,E as fs,m as ps,n as ms,o as gs,p as yt,q as bt}from"./chatLifecycle-B8riqCVx.js";import{k as Te,l as ys,m as bs,n as Lt,T as wt,h as Bt,o as Me,r as Qe,s as ws,t as vs,v as he,D as $e,w as Ss,x as xs,y as _s,z as Es,B as Cs,C as Rs,E as js,F as ks,G as As,H as tt,I as Is,J as vt,K as Ot,L as St,M as Ye,j as Ms,N as Ts,O as Ns,Q as qt,R as Ds,U as Fs,V as Ls,W as Bs,S as Os,X as Pt}from"./index-DViK7D7O.js";import{c as ne}from"./chat-iF1C9QkJ.js";import{M as qs}from"./McpShowcase-DuGSlHLG.js";import{S as Ps}from"./share-2-DLsCD6-o.js";import{u as He}from"./useMutation-CghM0QJV.js";import{I as Us}from"./Icon-BrPPGkYF.js";import{m as Hs}from"./mlIntern-DtdFmmDf.js";import{u as Vs,O as Ks}from"./openrouter-BtubNRjU.js";/* empty css */import"./hover-card-Cwr5IQpG.js";import"./CatalogEntityPreviewLink-DwN4bhsl.js";import"./github-BnonuqZU.js";import"./file-text-C0LuaY-J.js";import"./PaperPreviewLink-Dvvn-oU_.js";import"./index-QDUqgJJX.js";import"./index-CDEsSSod.js";import"./index-B3LpHPyz.js";import"./katex-DkKDou_j.js";import"./thumbs-up-CET5IGrw.js";import"./copy-Nx3dOYtx.js";import"./arrow-left-DAqylKH-.js";import"./external-link-Ou0N7lM_.js";import"./plus-BFsfRK33.js";import"./search-DYkHdF95.js";import"./chevron-up-CfubiFzM.js";import"./AuthorAvatar-Cn_8_omA.js";import"./trash-2-Di3uPTPp.js";import"./AgentLogos-B7GloLDi.js";/**
2
  * @license lucide-react v0.462.0 - ISC
3
  *
4
  * This source code is licensed under the ISC license.
assets/{ConferenceDetailView-D2MpC-eC.js → ConferenceDetailView-C9rZb6Fb.js} RENAMED
@@ -1 +1 @@
1
- import{u as k,b as _,i as S,j as e,L as f,v as b}from"./index-DL_JM2Ot.js";import{a as j,A as C,b as E}from"./AreaSection-BE-V9m-Z.js";import{M as N}from"./MarkdownText-B-aaimeS.js";import{s as F}from"./areas-Dvi8w2dp.js";import{c as L,h as T}from"./colors-BkWRhvFI.js";import{C as $}from"./conferenceListings-BnmhBx-_.js";import{f as A}from"./deadlines-BG5SWwEG.js";import{d as P}from"./transform-WCen521A.js";import{S as w}from"./skeleton-CKwY1CoC.js";import{s as D}from"./safeExternalHref-CkBrsh84.js";import{l as R}from"./LoadFailurePage-BY9gZYyL.js";import{u as B}from"./useDocumentTitle-CK4VxG11.js";import{e as M}from"./pageTitles-CNuk5c2y.js";import"./PaperPreviewLink-hxmZ3UPf.js";import"./index-Duxgh9kf.js";import"./index-BPdKbxHa.js";import"./hover-card-9NlCSWPH.js";import"./useMutation-BhCRLa1t.js";import"./alert-BAtahhuM.js";import"./NotFound-DzpdCi9I.js";const ie=()=>{var x,h;const{confSlug:c}=k(),r=_(b.conferenceAreasWithTasks(c)),m=S.useMemo(()=>{var s;return F(((s=r.data)==null?void 0:s.results)??[])},[r.data]),a=(x=r.data)==null?void 0:x.conference;B(a&&M(a.name));const d=((h=r.data)==null?void 0:h.total_paper_count)??0,v=$.filter(s=>{var t;return(((t=r.data)==null?void 0:t[s.countKey])??0)>0}),p=R([r.error],"Failed to load conference. Please try again.");if(p)return p;const u=a?A(a.start_date,a.end_date):null,g=a?[a.venue,a.location].filter(Boolean).join(", "):null,l=a==null?void 0:a.name;return e.jsxs("div",{className:"page",children:[e.jsxs("div",{className:a!=null&&a.image_url?"task-hero-grid":void 0,children:[e.jsxs("div",{children:[e.jsx("div",{style:{fontFamily:"var(--mono)",fontSize:11,color:"var(--accent-text)",letterSpacing:"0.1em",marginBottom:8},children:"CONFERENCE"}),e.jsx("h1",{className:"feed-title",children:l??e.jsx(w,{className:"h-10 w-64 inline-block"})}),e.jsxs("div",{className:"feed-subtitle",style:{display:"flex",flexDirection:"column",gap:4},children:[u&&e.jsx("span",{children:u}),g&&e.jsx("span",{children:g}),(a==null?void 0:a.url)&&e.jsx("a",{href:D(a.url)??void 0,target:"_blank",rel:"noopener noreferrer",style:{color:"var(--accent-text)"},children:a.url.replace(/^https?:\/\//,"")}),(a==null?void 0:a.hf_url)&&e.jsxs("a",{className:"bm-action-btn",href:a.hf_url,target:"_blank",rel:"noopener noreferrer",style:{alignSelf:"flex-start",marginTop:4},children:[e.jsx("span",{"aria-hidden":"true",children:"🤗"})," View on Hugging Face"]})]}),(a==null?void 0:a.description)&&e.jsx(N,{className:"method-description",text:a.description})]}),(a==null?void 0:a.image_url)&&e.jsxs("figure",{className:"task-figure-card",children:[e.jsx("div",{className:"task-figure-img-wrap",children:e.jsx("img",{className:"task-figure-img",src:a.image_url,alt:l?`${l} visual`:"Conference visual",onError:s=>{var t,n;(n=(t=s.currentTarget.parentElement)==null?void 0:t.parentElement)==null||n.style.setProperty("display","none")}})}),e.jsxs("figcaption",{children:["Figure · ",l??"Conference",a.image_credit&&e.jsxs(e.Fragment,{children:[e.jsx("br",{}),e.jsx(N,{className:"task-image-credit",text:a.image_credit})]})]})]})]}),!r.isLoading&&d>0&&e.jsx(j,{title:"Browse papers",description:"All accepted papers, plus oral, spotlight, outstanding, and best paper finalists.",meta:`${d.toLocaleString()} papers`,style:{marginTop:48},children:v.map(s=>{var t;return e.jsxs(f,{to:`/conferences/${c}/${s.slug}`,className:"tag-cell",children:[e.jsxs("div",{className:"name",children:[e.jsx("span",{className:"dot",style:{background:s.dotColor}}),s.label]}),e.jsx("div",{className:"meta",children:e.jsxs("span",{children:[(((t=r.data)==null?void 0:t[s.countKey])??0).toLocaleString()," papers"]})})]},s.slug)})}),r.isLoading?e.jsx(C,{tiles:6,tileClassName:"h-24"}):m.map(s=>{const t=s.tasks;if(t.length===0)return null;const n=t.reduce((i,o)=>i+(o.paper_count||0),0);return e.jsx(j,{title:s.name,description:s.description,meta:`${t.length} ${t.length===1?"task":"tasks"} · ${n.toLocaleString()} papers`,children:t.map(i=>{const o=i.slug||"",y=L(T(o));return e.jsxs(f,{to:`/conferences/${c}/${o}`,className:"tag-cell",children:[e.jsxs("div",{className:"name",children:[e.jsx("span",{className:"dot",style:{background:y.dot}}),P(i.name,o)]}),e.jsx("div",{className:"meta",children:e.jsxs("span",{children:[(i.paper_count??0).toLocaleString()," papers"]})})]},i.id)})},s.id)}),e.jsx(E,{areas:m})]})};export{ie as default};
 
1
+ import{u as k,b as _,i as S,j as e,L as f,v as b}from"./index-CrYWgAoM.js";import{a as j,A as C,b as E}from"./AreaSection-0kfCUYRS.js";import{M as N}from"./MarkdownText-BFhqzZUc.js";import{s as F}from"./areas-Dvi8w2dp.js";import{c as L,h as T}from"./colors-BkWRhvFI.js";import{C as $}from"./conferenceListings-BnmhBx-_.js";import{f as A}from"./deadlines-BG5SWwEG.js";import{d as P}from"./transform-CRzM_tWE.js";import{S as w}from"./skeleton-CR7iZvat.js";import{s as D}from"./safeExternalHref-CkBrsh84.js";import{l as R}from"./LoadFailurePage-DERO_21B.js";import{u as B}from"./useDocumentTitle-BLJX3S0V.js";import{e as M}from"./pageTitles-DI-gHdpy.js";import"./PaperPreviewLink-Dvvn-oU_.js";import"./index-QDUqgJJX.js";import"./index-CDEsSSod.js";import"./hover-card-Cwr5IQpG.js";import"./useMutation-CghM0QJV.js";import"./alert-BWfaZ9GT.js";import"./NotFound-DDD3QkLQ.js";const ie=()=>{var x,h;const{confSlug:c}=k(),r=_(b.conferenceAreasWithTasks(c)),m=S.useMemo(()=>{var s;return F(((s=r.data)==null?void 0:s.results)??[])},[r.data]),a=(x=r.data)==null?void 0:x.conference;B(a&&M(a.name));const d=((h=r.data)==null?void 0:h.total_paper_count)??0,v=$.filter(s=>{var t;return(((t=r.data)==null?void 0:t[s.countKey])??0)>0}),p=R([r.error],"Failed to load conference. Please try again.");if(p)return p;const u=a?A(a.start_date,a.end_date):null,g=a?[a.venue,a.location].filter(Boolean).join(", "):null,l=a==null?void 0:a.name;return e.jsxs("div",{className:"page",children:[e.jsxs("div",{className:a!=null&&a.image_url?"task-hero-grid":void 0,children:[e.jsxs("div",{children:[e.jsx("div",{style:{fontFamily:"var(--mono)",fontSize:11,color:"var(--accent-text)",letterSpacing:"0.1em",marginBottom:8},children:"CONFERENCE"}),e.jsx("h1",{className:"feed-title",children:l??e.jsx(w,{className:"h-10 w-64 inline-block"})}),e.jsxs("div",{className:"feed-subtitle",style:{display:"flex",flexDirection:"column",gap:4},children:[u&&e.jsx("span",{children:u}),g&&e.jsx("span",{children:g}),(a==null?void 0:a.url)&&e.jsx("a",{href:D(a.url)??void 0,target:"_blank",rel:"noopener noreferrer",style:{color:"var(--accent-text)"},children:a.url.replace(/^https?:\/\//,"")}),(a==null?void 0:a.hf_url)&&e.jsxs("a",{className:"bm-action-btn",href:a.hf_url,target:"_blank",rel:"noopener noreferrer",style:{alignSelf:"flex-start",marginTop:4},children:[e.jsx("span",{"aria-hidden":"true",children:"🤗"})," View on Hugging Face"]})]}),(a==null?void 0:a.description)&&e.jsx(N,{className:"method-description",text:a.description})]}),(a==null?void 0:a.image_url)&&e.jsxs("figure",{className:"task-figure-card",children:[e.jsx("div",{className:"task-figure-img-wrap",children:e.jsx("img",{className:"task-figure-img",src:a.image_url,alt:l?`${l} visual`:"Conference visual",onError:s=>{var t,n;(n=(t=s.currentTarget.parentElement)==null?void 0:t.parentElement)==null||n.style.setProperty("display","none")}})}),e.jsxs("figcaption",{children:["Figure · ",l??"Conference",a.image_credit&&e.jsxs(e.Fragment,{children:[e.jsx("br",{}),e.jsx(N,{className:"task-image-credit",text:a.image_credit})]})]})]})]}),!r.isLoading&&d>0&&e.jsx(j,{title:"Browse papers",description:"All accepted papers, plus oral, spotlight, outstanding, and best paper finalists.",meta:`${d.toLocaleString()} papers`,style:{marginTop:48},children:v.map(s=>{var t;return e.jsxs(f,{to:`/conferences/${c}/${s.slug}`,className:"tag-cell",children:[e.jsxs("div",{className:"name",children:[e.jsx("span",{className:"dot",style:{background:s.dotColor}}),s.label]}),e.jsx("div",{className:"meta",children:e.jsxs("span",{children:[(((t=r.data)==null?void 0:t[s.countKey])??0).toLocaleString()," papers"]})})]},s.slug)})}),r.isLoading?e.jsx(C,{tiles:6,tileClassName:"h-24"}):m.map(s=>{const t=s.tasks;if(t.length===0)return null;const n=t.reduce((i,o)=>i+(o.paper_count||0),0);return e.jsx(j,{title:s.name,description:s.description,meta:`${t.length} ${t.length===1?"task":"tasks"} · ${n.toLocaleString()} papers`,children:t.map(i=>{const o=i.slug||"",y=L(T(o));return e.jsxs(f,{to:`/conferences/${c}/${o}`,className:"tag-cell",children:[e.jsxs("div",{className:"name",children:[e.jsx("span",{className:"dot",style:{background:y.dot}}),P(i.name,o)]}),e.jsx("div",{className:"meta",children:e.jsxs("span",{children:[(i.paper_count??0).toLocaleString()," papers"]})})]},i.id)})},s.id)}),e.jsx(E,{areas:m})]})};export{ie as default};
assets/{ConferenceTaskView-Dvn6NqvW.js → ConferenceTaskView-CshfYFH5.js} RENAMED
@@ -1 +1 @@
1
- import{u as R,b as E,v as F,B as A,w as L,i as S,j as e,L as x}from"./index-DL_JM2Ot.js";import{b as M,u as T,c as B,P as O}from"./usePapers-DbWhzgNx.js";import{M as f}from"./MarkdownText-B-aaimeS.js";import{C as Q}from"./conferenceListings-BnmhBx-_.js";import{t as z,d as H}from"./transform-WCen521A.js";import{l as I}from"./LoadFailurePage-BY9gZYyL.js";import"./PaperCard-BXiZHon_.js";import"./AuthorAvatar-CrqIFv87.js";import"./SotaBadges-GpZeMWYD.js";import"./colors-BkWRhvFI.js";import"./Icon-N8z7DeBC.js";import"./LatexTitle-CgJviprz.js";import"./safeExternalHref-CkBrsh84.js";import"./popover-DRgAhCdU.js";import"./skeleton-CKwY1CoC.js";import"./useIntersectionObserver-CK36kpUi.js";import"./useInfiniteQuery-hVKCzcm1.js";import"./PaperPreviewLink-hxmZ3UPf.js";import"./index-Duxgh9kf.js";import"./index-BPdKbxHa.js";import"./hover-card-9NlCSWPH.js";import"./useMutation-BhCRLa1t.js";import"./alert-BAtahhuM.js";import"./NotFound-DzpdCi9I.js";const $={"iclr-2026/outstanding":"ICLR 2026 recognized two Outstanding Papers and one Honorable Mention. [Read the announcement](https://blog.iclr.cc/2026/04/23/announcing-the-iclr-2026-outstanding-papers/).","icml-2026/outstanding":"ICML 2026 recognized two Outstanding Papers and five Honorable Mentions. [Read the announcement](https://blog.icml.cc/2026/07/05/announcing-the-icml-2026-awards/).","cvpr-2026/best-paper-finalists":"CVPR 2026 recognized fifteen Best Paper Award finalists, including the winners. [Read the announcement](https://x.com/CVPR/status/2062912519522717978)."},ue=()=>{var P,v,w,k,y,_;const{confSlug:t,taskSlug:o}=R(),m=M(),a=Q.find(r=>r.slug===o),u=!!(a!=null&&a.award),i=E(F.conference(t)),p=E({...F.task(o),enabled:!a}),c=T(L.conference(t,o,m.filters),r=>A.forConference(t,{...m.filters,task:a?void 0:o,presentation:a==null?void 0:a.presentation,page:r,page_size:12}),{enabled:!!t}),g=S.useMemo(()=>{var r;return((r=c.data)==null?void 0:r.pages.flatMap(n=>n.results))??[]},[c.data]),h=S.useMemo(()=>g.map(z),[g]),l=(a==null?void 0:a.label)??H(((P=p.data)==null?void 0:P.name)||o||"",((v=p.data)==null?void 0:v.slug)||o),j=$[`${t}/${o}`],N=((k=(w=c.data)==null?void 0:w.pages[0])==null?void 0:k.count)??((y=i.data)==null?void 0:y.paper_count)??0,s=p.data,b=I([i.error,p.error,c.error],"Failed to load conference papers. Please try again.");return b||e.jsxs("div",{className:"page",children:[e.jsxs("nav",{className:"breadcrumb","aria-label":"Breadcrumb",children:[e.jsx(x,{to:"/",children:"Home"}),e.jsx("span",{children:" / "}),e.jsx(x,{to:"/conferences",children:"Conferences"}),e.jsx("span",{children:" / "}),e.jsx(x,{to:`/conferences/${t}`,children:((_=i.data)==null?void 0:_.name)??t}),e.jsx("span",{children:" / "}),e.jsx("span",{children:l})]}),e.jsxs("div",{className:!a&&(s!=null&&s.image_url)?"task-hero-grid":void 0,style:{marginTop:16,marginBottom:28},children:[e.jsxs("div",{children:[e.jsx("div",{style:{fontFamily:"var(--mono)",fontSize:11,color:"var(--accent-text)",letterSpacing:"0.1em",marginBottom:8},children:a?"BROWSE PAPERS":"TASK"}),e.jsx("h1",{className:"domain-mega-title",children:l}),j&&e.jsx(f,{className:"task-explainer",text:j}),!a&&(s==null?void 0:s.description)&&e.jsx(f,{className:"task-explainer",text:s.description}),i.data&&e.jsxs("div",{className:"task-quickstats",style:{marginTop:12},children:[e.jsxs("span",{children:[e.jsx("span",{className:"num",children:N.toLocaleString()}),"PAPERS"]}),e.jsx("span",{children:i.data.name})]})]}),!a&&(s==null?void 0:s.image_url)&&e.jsxs("figure",{className:"task-figure-card",children:[e.jsx("div",{className:"task-figure-img-wrap",children:e.jsx("img",{className:"task-figure-img",src:s.image_url,alt:`${l} schematic`,onError:r=>{var n,d;(d=(n=r.currentTarget.parentElement)==null?void 0:n.parentElement)==null||d.style.setProperty("display","none")}})}),e.jsxs("figcaption",{children:["Figure · ",l,s.image_credit&&e.jsxs(e.Fragment,{children:[e.jsx("br",{}),e.jsx(f,{className:"task-image-credit",text:s.image_credit})]})]})]})]}),e.jsxs("div",{className:"task-section-head",children:[e.jsx("div",{className:"task-section-eyebrow",children:u?"Award papers":"Conference papers · sort below"}),e.jsxs("div",{className:"task-section-title",children:["Papers ",e.jsxs("span",{className:"meta",children:["[",N.toLocaleString(),"]"]})]})]}),e.jsx(B,{feed:m,sorts:u?null:void 0,children:!u&&e.jsxs("div",{className:"results-count",children:[h.length," loaded in ",e.jsx("span",{children:l})]})}),e.jsx(O,{query:c,cards:h,empty:"No papers found for this selection.",cardHeader:r=>{var C;const n=(C=g[r])==null?void 0:C.conference_award,d=n==="outstanding"?"Outstanding Paper":n==="honorable_mention"?"Honorable Mention":n==="best_paper_finalist"&&(a==null?void 0:a.presentation)!=="best_paper_finalist"?"Best Paper Finalist":null;return d&&e.jsx("div",{className:"conference-award-label",children:d})}})]})};export{ue as default};
 
1
+ import{u as R,b as E,v as F,B as A,w as L,i as S,j as e,L as x}from"./index-CrYWgAoM.js";import{b as M,u as T,c as B,P as O}from"./usePapers-BPV2QuS7.js";import{M as f}from"./MarkdownText-BFhqzZUc.js";import{C as Q}from"./conferenceListings-BnmhBx-_.js";import{t as z,d as H}from"./transform-CRzM_tWE.js";import{l as I}from"./LoadFailurePage-DERO_21B.js";import"./PaperCard-CrdVyQE8.js";import"./AuthorAvatar-Cn_8_omA.js";import"./SotaBadges-MTukWJ8b.js";import"./colors-BkWRhvFI.js";import"./Icon-BrPPGkYF.js";import"./LatexTitle-TFtKXSOA.js";import"./safeExternalHref-CkBrsh84.js";import"./popover-DfUABjJn.js";import"./skeleton-CR7iZvat.js";import"./useIntersectionObserver-CWHTKkKe.js";import"./useInfiniteQuery-B5y4jCiW.js";import"./PaperPreviewLink-Dvvn-oU_.js";import"./index-QDUqgJJX.js";import"./index-CDEsSSod.js";import"./hover-card-Cwr5IQpG.js";import"./useMutation-CghM0QJV.js";import"./alert-BWfaZ9GT.js";import"./NotFound-DDD3QkLQ.js";const $={"iclr-2026/outstanding":"ICLR 2026 recognized two Outstanding Papers and one Honorable Mention. [Read the announcement](https://blog.iclr.cc/2026/04/23/announcing-the-iclr-2026-outstanding-papers/).","icml-2026/outstanding":"ICML 2026 recognized two Outstanding Papers and five Honorable Mentions. [Read the announcement](https://blog.icml.cc/2026/07/05/announcing-the-icml-2026-awards/).","cvpr-2026/best-paper-finalists":"CVPR 2026 recognized fifteen Best Paper Award finalists, including the winners. [Read the announcement](https://x.com/CVPR/status/2062912519522717978)."},ue=()=>{var P,v,w,k,y,_;const{confSlug:t,taskSlug:o}=R(),m=M(),a=Q.find(r=>r.slug===o),u=!!(a!=null&&a.award),i=E(F.conference(t)),p=E({...F.task(o),enabled:!a}),c=T(L.conference(t,o,m.filters),r=>A.forConference(t,{...m.filters,task:a?void 0:o,presentation:a==null?void 0:a.presentation,page:r,page_size:12}),{enabled:!!t}),g=S.useMemo(()=>{var r;return((r=c.data)==null?void 0:r.pages.flatMap(n=>n.results))??[]},[c.data]),h=S.useMemo(()=>g.map(z),[g]),l=(a==null?void 0:a.label)??H(((P=p.data)==null?void 0:P.name)||o||"",((v=p.data)==null?void 0:v.slug)||o),j=$[`${t}/${o}`],N=((k=(w=c.data)==null?void 0:w.pages[0])==null?void 0:k.count)??((y=i.data)==null?void 0:y.paper_count)??0,s=p.data,b=I([i.error,p.error,c.error],"Failed to load conference papers. Please try again.");return b||e.jsxs("div",{className:"page",children:[e.jsxs("nav",{className:"breadcrumb","aria-label":"Breadcrumb",children:[e.jsx(x,{to:"/",children:"Home"}),e.jsx("span",{children:" / "}),e.jsx(x,{to:"/conferences",children:"Conferences"}),e.jsx("span",{children:" / "}),e.jsx(x,{to:`/conferences/${t}`,children:((_=i.data)==null?void 0:_.name)??t}),e.jsx("span",{children:" / "}),e.jsx("span",{children:l})]}),e.jsxs("div",{className:!a&&(s!=null&&s.image_url)?"task-hero-grid":void 0,style:{marginTop:16,marginBottom:28},children:[e.jsxs("div",{children:[e.jsx("div",{style:{fontFamily:"var(--mono)",fontSize:11,color:"var(--accent-text)",letterSpacing:"0.1em",marginBottom:8},children:a?"BROWSE PAPERS":"TASK"}),e.jsx("h1",{className:"domain-mega-title",children:l}),j&&e.jsx(f,{className:"task-explainer",text:j}),!a&&(s==null?void 0:s.description)&&e.jsx(f,{className:"task-explainer",text:s.description}),i.data&&e.jsxs("div",{className:"task-quickstats",style:{marginTop:12},children:[e.jsxs("span",{children:[e.jsx("span",{className:"num",children:N.toLocaleString()}),"PAPERS"]}),e.jsx("span",{children:i.data.name})]})]}),!a&&(s==null?void 0:s.image_url)&&e.jsxs("figure",{className:"task-figure-card",children:[e.jsx("div",{className:"task-figure-img-wrap",children:e.jsx("img",{className:"task-figure-img",src:s.image_url,alt:`${l} schematic`,onError:r=>{var n,d;(d=(n=r.currentTarget.parentElement)==null?void 0:n.parentElement)==null||d.style.setProperty("display","none")}})}),e.jsxs("figcaption",{children:["Figure · ",l,s.image_credit&&e.jsxs(e.Fragment,{children:[e.jsx("br",{}),e.jsx(f,{className:"task-image-credit",text:s.image_credit})]})]})]})]}),e.jsxs("div",{className:"task-section-head",children:[e.jsx("div",{className:"task-section-eyebrow",children:u?"Award papers":"Conference papers · sort below"}),e.jsxs("div",{className:"task-section-title",children:["Papers ",e.jsxs("span",{className:"meta",children:["[",N.toLocaleString(),"]"]})]})]}),e.jsx(B,{feed:m,sorts:u?null:void 0,children:!u&&e.jsxs("div",{className:"results-count",children:[h.length," loaded in ",e.jsx("span",{children:l})]})}),e.jsx(O,{query:c,cards:h,empty:"No papers found for this selection.",cardHeader:r=>{var C;const n=(C=g[r])==null?void 0:C.conference_award,d=n==="outstanding"?"Outstanding Paper":n==="honorable_mention"?"Honorable Mention":n==="best_paper_finalist"&&(a==null?void 0:a.presentation)!=="best_paper_finalist"?"Best Paper Finalist":null;return d&&e.jsx("div",{className:"conference-award-label",children:d})}})]})};export{ue as default};
assets/{ConferencesIndexView-ECp8BQb1.js → ConferencesIndexView-CH45BsDK.js} RENAMED
@@ -1 +1 @@
1
- import{b as d,i as m,j as e,L as c,v as p}from"./index-DL_JM2Ot.js";import{f as u}from"./deadlines-BG5SWwEG.js";import{A as f,a as h}from"./alert-BAtahhuM.js";import{A as x,a as g}from"./AreaSection-BE-V9m-Z.js";import{T as j}from"./TaxonomySuggestionTile-CIF_PBKQ.js";import{u as v}from"./useDocumentTitle-CK4VxG11.js";import{I as N}from"./pageTitles-CNuk5c2y.js";import"./skeleton-CKwY1CoC.js";import"./SignInToEditDialog-CpHMTStF.js";import"./button-TvGRvG4J.js";import"./input-CJSZmrSu.js";import"./textarea-CIb9tSG4.js";import"./searchable-select-CmqairTa.js";import"./popover-DRgAhCdU.js";import"./dialog-DR9by6nD.js";import"./search-BCfgkzCD.js";import"./loader-circle-BW9ed20f.js";import"./useMutation-BhCRLa1t.js";import"./submissions-Cm7h93Uo.js";import"./plus-Bou0iMb2.js";const _=r=>{var t;if(r.year!=null)return r.year;if(r.start_date)return Number(r.start_date.slice(0,4));const a=(t=r.slug.match(/-(\d{4})$/))==null?void 0:t[1];return a?Number(a):0},A=(r,a)=>{if(r.start_date&&a.start_date){const t=r.start_date.localeCompare(a.start_date);if(t!==0)return t}else{if(r.start_date)return-1;if(a.start_date)return 1}return r.name.localeCompare(a.name)},M=()=>{v(N.conferences);const r=d(p.conferences()),a=m.useMemo(()=>{var i;if(!((i=r.data)!=null&&i.results))return null;const t={};return r.data.results.forEach(n=>{const s=_(n);(t[s]||(t[s]=[])).push(n)}),Object.values(t).forEach(n=>n.sort(A)),Object.keys(t).map(Number).sort((n,s)=>s-n).map(n=>({year:n,conferences:t[n]}))},[r.data]);return r.error?e.jsx("div",{className:"page",children:e.jsx(f,{variant:"destructive",children:e.jsx(h,{children:"Failed to load conferences. Please try again."})})}):e.jsxs("div",{className:"page",children:[e.jsx("div",{className:"feed-header",children:e.jsxs("div",{children:[e.jsxs("h1",{className:"feed-title",children:["All ",e.jsx("em",{children:"Conferences"})]}),e.jsx("div",{className:"feed-subtitle",children:"Browse accepted papers from major AI conferences, grouped by research area and task."}),e.jsxs("div",{className:"conference-deadlines-link",children:["Find deadlines for upcoming conferences"," ",e.jsx(c,{to:"/ai-deadlines",className:"underline underline-offset-2 hover:text-foreground",children:"here"}),". Conference information is based on"," ",e.jsx("a",{href:"https://huggingface.co/ai-conferences",target:"_blank",rel:"noreferrer",className:"underline underline-offset-2 hover:text-foreground",children:"Hugging Face AI Conferences"}),"."]})]})}),r.isLoading?e.jsx(x,{sections:2,tiles:3,tileClassName:"h-32"}):a==null?void 0:a.map(({year:t,conferences:i})=>{const n=i.reduce((s,o)=>s+(o.paper_count??0),0);return e.jsxs(g,{title:t>0?String(t):"Unknown year",meta:`${i.length} ${i.length===1?"conference":"conferences"} · ${n.toLocaleString()} papers`,children:[i.map(s=>{const o=u(s.start_date,s.end_date),l=[s.venue,s.location].filter(Boolean).join(", ");return e.jsxs(c,{to:`/conferences/${s.slug}`,className:"tag-cell",children:[e.jsx("div",{className:"name",children:s.name}),e.jsxs("div",{className:"meta",style:{display:"flex",flexDirection:"column",gap:4},children:[o&&e.jsx("span",{children:o}),l&&e.jsx("span",{children:l}),e.jsxs("span",{children:[(s.paper_count??0).toLocaleString()," papers"]})]})]},s.id)}),e.jsx(j,{kind:"conference"})]},t)})]})};export{M as default};
 
1
+ import{b as d,i as m,j as e,L as c,v as p}from"./index-CrYWgAoM.js";import{f as u}from"./deadlines-BG5SWwEG.js";import{A as f,a as h}from"./alert-BWfaZ9GT.js";import{A as x,a as g}from"./AreaSection-0kfCUYRS.js";import{T as j}from"./TaxonomySuggestionTile-WqJcc4Nh.js";import{u as v}from"./useDocumentTitle-BLJX3S0V.js";import{I as N}from"./pageTitles-DI-gHdpy.js";import"./skeleton-CR7iZvat.js";import"./SignInToEditDialog-Bv3LeRt3.js";import"./button-DWQq9odL.js";import"./input-BUWCvGLt.js";import"./textarea-DVnF1aYO.js";import"./searchable-select-DpWXL1DE.js";import"./popover-DfUABjJn.js";import"./dialog-DmgW-U8s.js";import"./search-DYkHdF95.js";import"./loader-circle-CK0KphTG.js";import"./useMutation-CghM0QJV.js";import"./submissions-DGJA6GHh.js";import"./plus-BFsfRK33.js";const _=r=>{var t;if(r.year!=null)return r.year;if(r.start_date)return Number(r.start_date.slice(0,4));const a=(t=r.slug.match(/-(\d{4})$/))==null?void 0:t[1];return a?Number(a):0},A=(r,a)=>{if(r.start_date&&a.start_date){const t=r.start_date.localeCompare(a.start_date);if(t!==0)return t}else{if(r.start_date)return-1;if(a.start_date)return 1}return r.name.localeCompare(a.name)},M=()=>{v(N.conferences);const r=d(p.conferences()),a=m.useMemo(()=>{var i;if(!((i=r.data)!=null&&i.results))return null;const t={};return r.data.results.forEach(n=>{const s=_(n);(t[s]||(t[s]=[])).push(n)}),Object.values(t).forEach(n=>n.sort(A)),Object.keys(t).map(Number).sort((n,s)=>s-n).map(n=>({year:n,conferences:t[n]}))},[r.data]);return r.error?e.jsx("div",{className:"page",children:e.jsx(f,{variant:"destructive",children:e.jsx(h,{children:"Failed to load conferences. Please try again."})})}):e.jsxs("div",{className:"page",children:[e.jsx("div",{className:"feed-header",children:e.jsxs("div",{children:[e.jsxs("h1",{className:"feed-title",children:["All ",e.jsx("em",{children:"Conferences"})]}),e.jsx("div",{className:"feed-subtitle",children:"Browse accepted papers from major AI conferences, grouped by research area and task."}),e.jsxs("div",{className:"conference-deadlines-link",children:["Find deadlines for upcoming conferences"," ",e.jsx(c,{to:"/ai-deadlines",className:"underline underline-offset-2 hover:text-foreground",children:"here"}),". Conference information is based on"," ",e.jsx("a",{href:"https://huggingface.co/ai-conferences",target:"_blank",rel:"noreferrer",className:"underline underline-offset-2 hover:text-foreground",children:"Hugging Face AI Conferences"}),"."]})]})}),r.isLoading?e.jsx(x,{sections:2,tiles:3,tileClassName:"h-32"}):a==null?void 0:a.map(({year:t,conferences:i})=>{const n=i.reduce((s,o)=>s+(o.paper_count??0),0);return e.jsxs(g,{title:t>0?String(t):"Unknown year",meta:`${i.length} ${i.length===1?"conference":"conferences"} · ${n.toLocaleString()} papers`,children:[i.map(s=>{const o=u(s.start_date,s.end_date),l=[s.venue,s.location].filter(Boolean).join(", ");return e.jsxs(c,{to:`/conferences/${s.slug}`,className:"tag-cell",children:[e.jsx("div",{className:"name",children:s.name}),e.jsxs("div",{className:"meta",style:{display:"flex",flexDirection:"column",gap:4},children:[o&&e.jsx("span",{children:o}),l&&e.jsx("span",{children:l}),e.jsxs("span",{children:[(s.paper_count??0).toLocaleString()," papers"]})]})]},s.id)}),e.jsx(j,{kind:"conference"})]},t)})]})};export{M as default};
assets/{CronDashboard-Da_8NzAt.js → CronDashboard-Bu3MjRtq.js} RENAMED
@@ -1,4 +1,4 @@
1
- import{d as c,i as r,j as s,_ as o}from"./index-DL_JM2Ot.js";/**
2
  * @license lucide-react v0.462.0 - ISC
3
  *
4
  * This source code is licensed under the ISC license.
 
1
+ import{d as c,i as r,j as s,_ as o}from"./index-CrYWgAoM.js";/**
2
  * @license lucide-react v0.462.0 - ISC
3
  *
4
  * This source code is licensed under the ISC license.
assets/{CronDashboard-BOJMFcK-.js → CronDashboard-CgUGs6ks.js} RENAMED
@@ -1,4 +1,4 @@
1
- import{d as J,i as x,a4 as ts,U as is,j as e,S as ie,aE as cs,a5 as ls,a6 as ds,W as oe,R as os,Z as ms,a7 as Te,_ as $,b as Q,$ as xe,o as pe,a0 as O,A as Fe,L as ge,ad as M,a1 as us,p as hs,O as me,c as xs,a as ps,ae as gs,E as js}from"./index-DL_JM2Ot.js";import{u as A}from"./useMutation-BhCRLa1t.js";import{t as je,f as g,a as S,S as Ee,C as v,b as N,c as b,d as R,e as _,g as C}from"./CronDashboard-Da_8NzAt.js";import{B as q}from"./badge-CmRkIQyK.js";import{B as y}from"./button-TvGRvG4J.js";import{C as vs,a as _s}from"./chevron-up-oWUehGsz.js";import{D as Ne}from"./database-0Wk20GLl.js";import{T as fs}from"./trending-up-DYoC6LwW.js";import{A as ne}from"./activity-DFBWkfMu.js";import{F as be}from"./file-text-Cw24822N.js";import{T as ue,I as Ns}from"./triangle-alert-C9Pn0RtQ.js";import{E as Z}from"./external-link-BQKIF2kZ.js";import{C as Y,R as ye}from"./refresh-cw-ClL1E8EZ.js";import{L as T}from"./loader-circle-BW9ed20f.js";import{C as ve}from"./circle-check-B-EyMkil.js";import{u as bs}from"./useInfiniteQuery-hVKCzcm1.js";import{c as we}from"./chat-BY6jjJTm.js";/**
2
  * @license lucide-react v0.462.0 - ISC
3
  *
4
  * This source code is licensed under the ISC license.
 
1
+ import{d as J,i as x,a4 as ts,U as is,j as e,S as ie,aE as cs,a5 as ls,a6 as ds,W as oe,R as os,Z as ms,a7 as Te,_ as $,b as Q,$ as xe,o as pe,a0 as O,A as Fe,L as ge,ad as M,a1 as us,p as hs,O as me,c as xs,a as ps,ae as gs,E as js}from"./index-CrYWgAoM.js";import{u as A}from"./useMutation-CghM0QJV.js";import{t as je,f as g,a as S,S as Ee,C as v,b as N,c as b,d as R,e as _,g as C}from"./CronDashboard-Bu3MjRtq.js";import{B as q}from"./badge-D7e99giJ.js";import{B as y}from"./button-DWQq9odL.js";import{C as vs,a as _s}from"./chevron-up-CfubiFzM.js";import{D as Ne}from"./database-ETB2BmRO.js";import{T as fs}from"./trending-up-BEq2ujbp.js";import{A as ne}from"./activity-DtoovMHc.js";import{F as be}from"./file-text-C0LuaY-J.js";import{T as ue,I as Ns}from"./triangle-alert-pKSiIr7I.js";import{E as Z}from"./external-link-Ou0N7lM_.js";import{C as Y,R as ye}from"./refresh-cw-Dxd4PMEy.js";import{L as T}from"./loader-circle-CK0KphTG.js";import{C as ve}from"./circle-check-Dce7_1J4.js";import{u as bs}from"./useInfiniteQuery-B5y4jCiW.js";import{c as we}from"./chat-iF1C9QkJ.js";/**
2
  * @license lucide-react v0.462.0 - ISC
3
  *
4
  * This source code is licensed under the ISC license.
assets/{ExternalSourceEvalBadge-B05mXvbN.js → ExternalSourceEvalBadge-BfVErjNU.js} RENAMED
@@ -1 +1 @@
1
- import{j as e,L as n}from"./index-DL_JM2Ot.js";import{H as o,a as l,b as i}from"./hover-card-9NlCSWPH.js";import{s as c}from"./safeExternalHref-CkBrsh84.js";const h=()=>e.jsxs(o,{openDelay:120,closeDelay:120,children:[e.jsx(l,{asChild:!0,children:e.jsx("button",{type:"button",className:"bm-closed-source-tag","aria-label":"Closed-source model",children:"closed"})}),e.jsxs(i,{side:"top",align:"start",className:"w-auto max-w-[260px] p-3 text-sm leading-snug",children:["This is an evaluation of a closed-source model. You can disable viewing these in your"," ",e.jsx(n,{to:"/settings",className:"closed-eval-tooltip-link",children:"settings"}),"."]})]});function d(a){if(!a)return"Evaluation sourced outside this paper";const r=a.toLowerCase();if(r.includes("open-asr-leaderboard"))return"Open ASR Leaderboard";if(r.includes("arcprize.org"))return"ARC Prize Leaderboard";if(r.includes("frontierswe.com"))return"FrontierSWE";if(r.includes("deepswe.datacurve.ai"))return"DeepSWE";try{const s=new URL(a,"https://paperswithcode.co");return s.pathname.startsWith("/paper/")?"Source paper":s.hostname.replace(/^www\./,"")}catch{return a}}const m=({sourceUrl:a})=>{const r=c(a),s=typeof a=="string"&&a.startsWith("/paper/")?a:null,t=d(a);return e.jsxs(o,{openDelay:120,closeDelay:120,children:[e.jsx(l,{asChild:!0,children:e.jsx("button",{type:"button",className:"bm-external-source-tag","aria-label":`Externally sourced evaluation: ${t}`,children:"External"})}),e.jsxs(i,{side:"top",align:"start",className:"w-auto max-w-[280px] p-3 text-sm leading-snug",children:["This score was sourced outside this paper.",s?e.jsxs(e.Fragment,{children:[" ",e.jsx(n,{to:s,target:"_blank",rel:"noopener noreferrer",className:"external-eval-tooltip-link",children:t}),"."]}):r?e.jsxs(e.Fragment,{children:[" ",e.jsx("a",{href:r,target:"_blank",rel:"noopener noreferrer",className:"external-eval-tooltip-link",children:t}),"."]}):e.jsxs(e.Fragment,{children:[" ",t,"."]})]})]})};export{h as C,m as E};
 
1
+ import{j as e,L as n}from"./index-CrYWgAoM.js";import{H as o,a as l,b as i}from"./hover-card-Cwr5IQpG.js";import{s as c}from"./safeExternalHref-CkBrsh84.js";const h=()=>e.jsxs(o,{openDelay:120,closeDelay:120,children:[e.jsx(l,{asChild:!0,children:e.jsx("button",{type:"button",className:"bm-closed-source-tag","aria-label":"Closed-source model",children:"closed"})}),e.jsxs(i,{side:"top",align:"start",className:"w-auto max-w-[260px] p-3 text-sm leading-snug",children:["This is an evaluation of a closed-source model. You can disable viewing these in your"," ",e.jsx(n,{to:"/settings",className:"closed-eval-tooltip-link",children:"settings"}),"."]})]});function d(a){if(!a)return"Evaluation sourced outside this paper";const r=a.toLowerCase();if(r.includes("open-asr-leaderboard"))return"Open ASR Leaderboard";if(r.includes("arcprize.org"))return"ARC Prize Leaderboard";if(r.includes("frontierswe.com"))return"FrontierSWE";if(r.includes("deepswe.datacurve.ai"))return"DeepSWE";try{const s=new URL(a,"https://paperswithcode.co");return s.pathname.startsWith("/paper/")?"Source paper":s.hostname.replace(/^www\./,"")}catch{return a}}const m=({sourceUrl:a})=>{const r=c(a),s=typeof a=="string"&&a.startsWith("/paper/")?a:null,t=d(a);return e.jsxs(o,{openDelay:120,closeDelay:120,children:[e.jsx(l,{asChild:!0,children:e.jsx("button",{type:"button",className:"bm-external-source-tag","aria-label":`Externally sourced evaluation: ${t}`,children:"External"})}),e.jsxs(i,{side:"top",align:"start",className:"w-auto max-w-[280px] p-3 text-sm leading-snug",children:["This score was sourced outside this paper.",s?e.jsxs(e.Fragment,{children:[" ",e.jsx(n,{to:s,target:"_blank",rel:"noopener noreferrer",className:"external-eval-tooltip-link",children:t}),"."]}):r?e.jsxs(e.Fragment,{children:[" ",e.jsx("a",{href:r,target:"_blank",rel:"noopener noreferrer",className:"external-eval-tooltip-link",children:t}),"."]}):e.jsxs(e.Fragment,{children:[" ",t,"."]})]})]})};export{h as C,m as E};
assets/{FeedView-ZR3JgROG.js → FeedView-DvMSmEBv.js} RENAMED
@@ -1,4 +1,4 @@
1
- import{d as tt,j as e,L as se,e as jt,n as Ue,b as J,o as st,i as d,X as Rt,l as vt,r as ne,a as Mt,q as $t,s as nt,t as at,C as $e,v as qe,f as Ot,w as Oe,k as Bt,x as Ye,y as kt,z as Ht,g as it,B as zt,D as qt}from"./index-DL_JM2Ot.js";import{S as Nt,t as Ut}from"./taskIcons-DtQk_t1Z.js";import{c as St,t as Y,d as Tt,e as Ct,f as _t,g as Pt,b as Kt,h as Et,u as Gt,i as Qt,j as Wt,k as Ve,a as rt,l as Yt,m as Vt,n as Xt,o as lt,p as ct,q as Ge,v as Zt}from"./researchTopic-Dwh-aCTS.js";import{P as De}from"./plus-Bou0iMb2.js";import{D as Jt,a as es,b as ts}from"./dialog-DR9by6nD.js";import{S as ss}from"./switch-DaSJHMgf.js";import{u as os}from"./useDebounce-DluHgsjc.js";import{d as Xe,t as ns}from"./transform-WCen521A.js";import{P as Ft,u as as,a as is,b as rs,D as Qe,q as ls,c as cs,d as ds,i as us,e as ps,A as hs,f as ms,S as de,g as fs}from"./index-C_jL3wwd.js";import{T as gs}from"./trash-2-D_ry9pGs.js";import{U as ws}from"./undo-2-Byv3xhFy.js";import{A as xs}from"./arrow-up-right-B1sXz8jv.js";import{A as bs}from"./arrow-right-rRg_3O3k.js";import{c as ys,h as js}from"./colors-BkWRhvFI.js";import{r as vs,u as ks,a as Ns,w as Ss,P as Ts}from"./usePapers-DbWhzgNx.js";import{M as Cs}from"./McpShowcase-CWi38Cpu.js";import{c as _s}from"./chat-BY6jjJTm.js";import{S as dt}from"./skeleton-CKwY1CoC.js";import{A as Be,a as He}from"./alert-BAtahhuM.js";import{u as Ps}from"./useDocumentTitle-CK4VxG11.js";import{H as Es}from"./pageTitles-CNuk5c2y.js";import"./search-BCfgkzCD.js";import"./triangle-alert-C9Pn0RtQ.js";import"./share-2-DsuTyobU.js";import"./trending-up-DYoC6LwW.js";import"./moon-D7rwii1q.js";import"./thumbs-up-DfqmZFje.js";import"./database-0Wk20GLl.js";import"./link-2-DVFqwbJV.js";import"./trophy-Ba-QU5Ik.js";import"./file-text-Cw24822N.js";import"./activity-DFBWkfMu.js";import"./globe-DfflNEeG.js";import"./useMutation-BhCRLa1t.js";import"./index-Dr5kpJ2J.js";import"./PaperCard-BXiZHon_.js";import"./AuthorAvatar-CrqIFv87.js";import"./SotaBadges-GpZeMWYD.js";import"./Icon-N8z7DeBC.js";import"./LatexTitle-CgJviprz.js";import"./safeExternalHref-CkBrsh84.js";import"./popover-DRgAhCdU.js";import"./useIntersectionObserver-CK36kpUi.js";import"./useInfiniteQuery-hVKCzcm1.js";import"./AgentLogos-e4Q9yKFL.js";/**
2
  * @license lucide-react v0.462.0 - ISC
3
  *
4
  * This source code is licensed under the ISC license.
 
1
+ import{d as tt,j as e,L as se,e as jt,n as Ue,b as J,o as st,i as d,X as Rt,l as vt,r as ne,a as Mt,q as $t,s as nt,t as at,C as $e,v as qe,f as Ot,w as Oe,k as Bt,x as Ye,y as kt,z as Ht,g as it,B as zt,D as qt}from"./index-CrYWgAoM.js";import{S as Nt,t as Ut}from"./taskIcons-CahA7ufj.js";import{c as St,t as Y,d as Tt,e as Ct,f as _t,g as Pt,b as Kt,h as Et,u as Gt,i as Qt,j as Wt,k as Ve,a as rt,l as Yt,m as Vt,n as Xt,o as lt,p as ct,q as Ge,v as Zt}from"./researchTopic-BGjIaltV.js";import{P as De}from"./plus-BFsfRK33.js";import{D as Jt,a as es,b as ts}from"./dialog-DmgW-U8s.js";import{S as ss}from"./switch-CcJYwO74.js";import{u as os}from"./useDebounce-DFwSyDWe.js";import{d as Xe,t as ns}from"./transform-CRzM_tWE.js";import{P as Ft,u as as,a as is,b as rs,D as Qe,q as ls,c as cs,d as ds,i as us,e as ps,A as hs,f as ms,S as de,g as fs}from"./index-DViK7D7O.js";import{T as gs}from"./trash-2-Di3uPTPp.js";import{U as ws}from"./undo-2-DXioRTXo.js";import{A as xs}from"./arrow-up-right-LoGNLcfY.js";import{A as bs}from"./arrow-right-B2HgOPT1.js";import{c as ys,h as js}from"./colors-BkWRhvFI.js";import{r as vs,u as ks,a as Ns,w as Ss,P as Ts}from"./usePapers-BPV2QuS7.js";import{M as Cs}from"./McpShowcase-DuGSlHLG.js";import{c as _s}from"./chat-iF1C9QkJ.js";import{S as dt}from"./skeleton-CR7iZvat.js";import{A as Be,a as He}from"./alert-BWfaZ9GT.js";import{u as Ps}from"./useDocumentTitle-BLJX3S0V.js";import{H as Es}from"./pageTitles-DI-gHdpy.js";import"./search-DYkHdF95.js";import"./triangle-alert-pKSiIr7I.js";import"./share-2-DLsCD6-o.js";import"./trending-up-BEq2ujbp.js";import"./moon-DZ_f4YQI.js";import"./thumbs-up-CET5IGrw.js";import"./database-ETB2BmRO.js";import"./link-2-BfcxSDqR.js";import"./trophy-DSSnqPIH.js";import"./file-text-C0LuaY-J.js";import"./activity-DtoovMHc.js";import"./globe-BU0jIVuu.js";import"./useMutation-CghM0QJV.js";import"./index-BrV3rrlz.js";import"./PaperCard-CrdVyQE8.js";import"./AuthorAvatar-Cn_8_omA.js";import"./SotaBadges-MTukWJ8b.js";import"./Icon-BrPPGkYF.js";import"./LatexTitle-TFtKXSOA.js";import"./safeExternalHref-CkBrsh84.js";import"./popover-DfUABjJn.js";import"./useIntersectionObserver-CWHTKkKe.js";import"./useInfiniteQuery-B5y4jCiW.js";import"./AgentLogos-B7GloLDi.js";/**
2
  * @license lucide-react v0.462.0 - ISC
3
  *
4
  * This source code is licensed under the ISC license.
assets/FollowingView-Ef0rRbud.js ADDED
@@ -0,0 +1 @@
 
 
1
+ import{j as o}from"./index-CrYWgAoM.js";import{HomeFeed as r}from"./FeedView-DvMSmEBv.js";import"./taskIcons-CahA7ufj.js";import"./search-DYkHdF95.js";import"./triangle-alert-pKSiIr7I.js";import"./share-2-DLsCD6-o.js";import"./trending-up-BEq2ujbp.js";import"./moon-DZ_f4YQI.js";import"./thumbs-up-CET5IGrw.js";import"./database-ETB2BmRO.js";import"./link-2-BfcxSDqR.js";import"./trophy-DSSnqPIH.js";import"./file-text-C0LuaY-J.js";import"./activity-DtoovMHc.js";import"./globe-BU0jIVuu.js";import"./researchTopic-BGjIaltV.js";import"./useMutation-CghM0QJV.js";import"./plus-BFsfRK33.js";import"./dialog-DmgW-U8s.js";import"./switch-CcJYwO74.js";import"./index-BrV3rrlz.js";import"./useDebounce-DFwSyDWe.js";import"./transform-CRzM_tWE.js";import"./index-DViK7D7O.js";import"./chat-iF1C9QkJ.js";import"./trash-2-Di3uPTPp.js";import"./undo-2-DXioRTXo.js";import"./arrow-up-right-LoGNLcfY.js";import"./arrow-right-B2HgOPT1.js";import"./colors-BkWRhvFI.js";import"./usePapers-BPV2QuS7.js";import"./PaperCard-CrdVyQE8.js";import"./AuthorAvatar-Cn_8_omA.js";import"./SotaBadges-MTukWJ8b.js";import"./Icon-BrPPGkYF.js";import"./LatexTitle-TFtKXSOA.js";import"./safeExternalHref-CkBrsh84.js";import"./popover-DfUABjJn.js";import"./skeleton-CR7iZvat.js";import"./useIntersectionObserver-CWHTKkKe.js";import"./useInfiniteQuery-B5y4jCiW.js";import"./McpShowcase-DuGSlHLG.js";import"./AgentLogos-B7GloLDi.js";import"./alert-BWfaZ9GT.js";import"./useDocumentTitle-BLJX3S0V.js";import"./pageTitles-DI-gHdpy.js";function W(){return o.jsx(r,{mode:"following"})}export{W as default};
assets/FollowingView-dy9LQoEt.js DELETED
@@ -1 +0,0 @@
1
- import{j as o}from"./index-DL_JM2Ot.js";import{HomeFeed as r}from"./FeedView-ZR3JgROG.js";import"./taskIcons-DtQk_t1Z.js";import"./search-BCfgkzCD.js";import"./triangle-alert-C9Pn0RtQ.js";import"./share-2-DsuTyobU.js";import"./trending-up-DYoC6LwW.js";import"./moon-D7rwii1q.js";import"./thumbs-up-DfqmZFje.js";import"./database-0Wk20GLl.js";import"./link-2-DVFqwbJV.js";import"./trophy-Ba-QU5Ik.js";import"./file-text-Cw24822N.js";import"./activity-DFBWkfMu.js";import"./globe-DfflNEeG.js";import"./researchTopic-Dwh-aCTS.js";import"./useMutation-BhCRLa1t.js";import"./plus-Bou0iMb2.js";import"./dialog-DR9by6nD.js";import"./switch-DaSJHMgf.js";import"./index-Dr5kpJ2J.js";import"./useDebounce-DluHgsjc.js";import"./transform-WCen521A.js";import"./index-C_jL3wwd.js";import"./chat-BY6jjJTm.js";import"./trash-2-D_ry9pGs.js";import"./undo-2-Byv3xhFy.js";import"./arrow-up-right-B1sXz8jv.js";import"./arrow-right-rRg_3O3k.js";import"./colors-BkWRhvFI.js";import"./usePapers-DbWhzgNx.js";import"./PaperCard-BXiZHon_.js";import"./AuthorAvatar-CrqIFv87.js";import"./SotaBadges-GpZeMWYD.js";import"./Icon-N8z7DeBC.js";import"./LatexTitle-CgJviprz.js";import"./safeExternalHref-CkBrsh84.js";import"./popover-DRgAhCdU.js";import"./skeleton-CKwY1CoC.js";import"./useIntersectionObserver-CK36kpUi.js";import"./useInfiniteQuery-hVKCzcm1.js";import"./McpShowcase-CWi38Cpu.js";import"./AgentLogos-e4Q9yKFL.js";import"./alert-BAtahhuM.js";import"./useDocumentTitle-CK4VxG11.js";import"./pageTitles-CNuk5c2y.js";function W(){return o.jsx(r,{mode:"following"})}export{W as default};
 
 
assets/{FrameworksIndexView-uSsXnvho.js → FrameworksIndexView-flSR2rox.js} RENAMED
@@ -1 +1 @@
1
- import{n as d,j as e,L as o,b as m,ab as h,v as u}from"./index-DL_JM2Ot.js";import{I as p}from"./Icon-N8z7DeBC.js";import{c as g,h as x}from"./colors-BkWRhvFI.js";import{P as f}from"./frameworks-DDA0P4Tf.js";import{u as j}from"./useDocumentTitle-CK4VxG11.js";import{I as _}from"./pageTitles-CNuk5c2y.js";const k={fontFamily:"var(--mono)",fontSize:13,fontWeight:600,letterSpacing:"0.04em",textTransform:"uppercase",color:"var(--ink)",marginBottom:6},N=({platform:s})=>{const n=g(x(s));return e.jsx("span",{className:"framework-platform-chip",style:{background:n.bg,color:n.text},children:f[s]})},v=({framework:s})=>{const n=d(),t=`/papers?framework=${encodeURIComponent(s.slug)}`;return e.jsxs("article",{id:`framework-${s.slug}`,className:"framework-card framework-card-clickable",role:"link",tabIndex:0,"aria-label":`View papers implemented by ${s.name}`,onClick:a=>{a.target.closest("a, button")||n(t)},onKeyDown:a=>{a.target===a.currentTarget&&(a.key==="Enter"||a.key===" ")&&(a.preventDefault(),n(t))},children:[e.jsxs("div",{className:"framework-card-head",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"framework-card-name",children:s.name}),s.organization_name&&e.jsx("div",{className:"framework-card-org",children:s.organization_name})]}),s.platforms&&s.platforms.length>0&&e.jsx("div",{className:"framework-platform-row",children:s.platforms.map(a=>e.jsx(N,{platform:a},a))})]}),e.jsx("p",{className:"framework-card-desc",children:s.description}),s.when_to_use&&e.jsxs("div",{className:"framework-card-when",children:[e.jsx("span",{className:"framework-card-when-label",children:"When to use"}),s.when_to_use]}),(s.github_url||s.docs_url||s.introducing_paper_arxiv_id)&&e.jsxs("div",{className:"framework-card-links",children:[s.introducing_paper_arxiv_id&&e.jsx(o,{to:`/paper/${s.introducing_paper_arxiv_id}`,className:"framework-link",children:"Introducing paper"}),s.github_url&&s.paper_count>0&&e.jsxs(o,{to:t,className:"framework-link",children:["Implements ",s.paper_count," ",s.paper_count===1?"paper":"papers"]}),s.github_url&&s.paper_count===0&&e.jsx("span",{className:"framework-link framework-link-disabled","aria-disabled":"true",children:"Implements 0 papers"}),s.github_url&&e.jsxs("a",{href:s.github_url,target:"_blank",rel:"noopener noreferrer",className:"framework-link",children:[e.jsx(p,{name:"github",size:13}),"GitHub"]}),s.docs_url&&s.docs_url!==s.github_url&&e.jsx("a",{href:s.docs_url,target:"_blank",rel:"noopener noreferrer",className:"framework-link",children:"Docs"})]})]})},F=()=>{var a;j(_.frameworks);const s=m(u.frameworkCatalog()),n=((a=s.data)==null?void 0:a.domains)??[],t=n.reduce((i,r)=>i+r.categories.reduce((l,c)=>l+c.frameworks.length,0),0);return h.useEffect(()=>{var r;const i=window.location.hash.slice(1);i&&((r=document.getElementById(i))==null||r.scrollIntoView())},[s.data]),e.jsxs("div",{className:"page",children:[e.jsx("div",{className:"feed-header",children:e.jsxs("div",{children:[e.jsxs("h1",{className:"feed-title",children:["AI ",e.jsx("em",{children:"Frameworks"})]}),e.jsx("div",{className:"feed-subtitle",children:"Curated libraries and tools to run, serve, and train models — pick the right stack for your hardware and workload."})]})}),s.isLoading&&e.jsx("div",{className:"empty",children:"Loading frameworks…"}),s.isError&&e.jsx("div",{className:"empty",children:"Could not load frameworks."}),n.map(i=>e.jsxs("section",{style:{marginBottom:56},children:[e.jsxs("div",{className:"area-section-head",children:[e.jsxs("div",{children:[e.jsx("h2",{className:"area-section-title",children:i.name}),e.jsx("div",{className:"area-section-description",children:i.description})]}),e.jsxs("div",{className:"area-section-meta",children:[i.categories.length," ",i.categories.length===1?"category":"categories"," ·"," ",i.categories.reduce((r,l)=>r+l.frameworks.length,0)," frameworks"]})]}),i.categories.map(r=>e.jsxs("div",{className:"framework-category",children:[e.jsxs("div",{className:"framework-category-head",children:[e.jsxs("div",{children:[e.jsx("h3",{style:k,children:r.name}),r.description&&e.jsx("p",{className:"framework-category-blurb",children:r.description}),r.guide_url&&e.jsxs("a",{href:r.guide_url,target:"_blank",rel:"noopener noreferrer",className:"framework-guide-link",children:[r.guide_label??"Read guide"," →"]})]}),e.jsxs("div",{className:"framework-category-meta",children:[r.frameworks.length," ",r.frameworks.length===1?"framework":"frameworks"]})]}),e.jsx("div",{className:"framework-grid",children:r.frameworks.map(l=>e.jsx(v,{framework:l},l.slug))})]},r.slug))]},i.slug)),e.jsxs("div",{style:{fontFamily:"var(--mono)",fontSize:11,color:"var(--ink-faint)",marginTop:8},children:[t," frameworks across ",n.length," ",n.length===1?"domain":"domains",". More areas coming soon."]})]})};export{v as FrameworkCard,F as default};
 
1
+ import{n as d,j as e,L as o,b as m,ab as h,v as u}from"./index-CrYWgAoM.js";import{I as p}from"./Icon-BrPPGkYF.js";import{c as g,h as x}from"./colors-BkWRhvFI.js";import{P as f}from"./frameworks-DDA0P4Tf.js";import{u as j}from"./useDocumentTitle-BLJX3S0V.js";import{I as _}from"./pageTitles-DI-gHdpy.js";const k={fontFamily:"var(--mono)",fontSize:13,fontWeight:600,letterSpacing:"0.04em",textTransform:"uppercase",color:"var(--ink)",marginBottom:6},N=({platform:s})=>{const n=g(x(s));return e.jsx("span",{className:"framework-platform-chip",style:{background:n.bg,color:n.text},children:f[s]})},v=({framework:s})=>{const n=d(),t=`/papers?framework=${encodeURIComponent(s.slug)}`;return e.jsxs("article",{id:`framework-${s.slug}`,className:"framework-card framework-card-clickable",role:"link",tabIndex:0,"aria-label":`View papers implemented by ${s.name}`,onClick:a=>{a.target.closest("a, button")||n(t)},onKeyDown:a=>{a.target===a.currentTarget&&(a.key==="Enter"||a.key===" ")&&(a.preventDefault(),n(t))},children:[e.jsxs("div",{className:"framework-card-head",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"framework-card-name",children:s.name}),s.organization_name&&e.jsx("div",{className:"framework-card-org",children:s.organization_name})]}),s.platforms&&s.platforms.length>0&&e.jsx("div",{className:"framework-platform-row",children:s.platforms.map(a=>e.jsx(N,{platform:a},a))})]}),e.jsx("p",{className:"framework-card-desc",children:s.description}),s.when_to_use&&e.jsxs("div",{className:"framework-card-when",children:[e.jsx("span",{className:"framework-card-when-label",children:"When to use"}),s.when_to_use]}),(s.github_url||s.docs_url||s.introducing_paper_arxiv_id)&&e.jsxs("div",{className:"framework-card-links",children:[s.introducing_paper_arxiv_id&&e.jsx(o,{to:`/paper/${s.introducing_paper_arxiv_id}`,className:"framework-link",children:"Introducing paper"}),s.github_url&&s.paper_count>0&&e.jsxs(o,{to:t,className:"framework-link",children:["Implements ",s.paper_count," ",s.paper_count===1?"paper":"papers"]}),s.github_url&&s.paper_count===0&&e.jsx("span",{className:"framework-link framework-link-disabled","aria-disabled":"true",children:"Implements 0 papers"}),s.github_url&&e.jsxs("a",{href:s.github_url,target:"_blank",rel:"noopener noreferrer",className:"framework-link",children:[e.jsx(p,{name:"github",size:13}),"GitHub"]}),s.docs_url&&s.docs_url!==s.github_url&&e.jsx("a",{href:s.docs_url,target:"_blank",rel:"noopener noreferrer",className:"framework-link",children:"Docs"})]})]})},F=()=>{var a;j(_.frameworks);const s=m(u.frameworkCatalog()),n=((a=s.data)==null?void 0:a.domains)??[],t=n.reduce((i,r)=>i+r.categories.reduce((l,c)=>l+c.frameworks.length,0),0);return h.useEffect(()=>{var r;const i=window.location.hash.slice(1);i&&((r=document.getElementById(i))==null||r.scrollIntoView())},[s.data]),e.jsxs("div",{className:"page",children:[e.jsx("div",{className:"feed-header",children:e.jsxs("div",{children:[e.jsxs("h1",{className:"feed-title",children:["AI ",e.jsx("em",{children:"Frameworks"})]}),e.jsx("div",{className:"feed-subtitle",children:"Curated libraries and tools to run, serve, and train models — pick the right stack for your hardware and workload."})]})}),s.isLoading&&e.jsx("div",{className:"empty",children:"Loading frameworks…"}),s.isError&&e.jsx("div",{className:"empty",children:"Could not load frameworks."}),n.map(i=>e.jsxs("section",{style:{marginBottom:56},children:[e.jsxs("div",{className:"area-section-head",children:[e.jsxs("div",{children:[e.jsx("h2",{className:"area-section-title",children:i.name}),e.jsx("div",{className:"area-section-description",children:i.description})]}),e.jsxs("div",{className:"area-section-meta",children:[i.categories.length," ",i.categories.length===1?"category":"categories"," ·"," ",i.categories.reduce((r,l)=>r+l.frameworks.length,0)," frameworks"]})]}),i.categories.map(r=>e.jsxs("div",{className:"framework-category",children:[e.jsxs("div",{className:"framework-category-head",children:[e.jsxs("div",{children:[e.jsx("h3",{style:k,children:r.name}),r.description&&e.jsx("p",{className:"framework-category-blurb",children:r.description}),r.guide_url&&e.jsxs("a",{href:r.guide_url,target:"_blank",rel:"noopener noreferrer",className:"framework-guide-link",children:[r.guide_label??"Read guide"," →"]})]}),e.jsxs("div",{className:"framework-category-meta",children:[r.frameworks.length," ",r.frameworks.length===1?"framework":"frameworks"]})]}),e.jsx("div",{className:"framework-grid",children:r.frameworks.map(l=>e.jsx(v,{framework:l},l.slug))})]},r.slug))]},i.slug)),e.jsxs("div",{style:{fontFamily:"var(--mono)",fontSize:11,color:"var(--ink-faint)",marginTop:8},children:[t," frameworks across ",n.length," ",n.length===1?"domain":"domains",". More areas coming soon."]})]})};export{v as FrameworkCard,F as default};
assets/{Icon-N8z7DeBC.js → Icon-BrPPGkYF.js} RENAMED
@@ -1 +1 @@
1
- import{j as o}from"./index-DL_JM2Ot.js";const s=({name:t,size:r=14})=>{const e={search:o.jsx("path",{d:"M11 11l3 3M7 12.5a5.5 5.5 0 110-11 5.5 5.5 0 010 11z",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round"}),arrowUp:o.jsx("path",{d:"M8 3l5 6H3l5-6z",fill:"currentColor"}),arrowLeft:o.jsx("path",{d:"M9 3l-4 5 4 5",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),arrowRight:o.jsx("path",{d:"M7 3l4 5-4 5",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),external:o.jsx("path",{d:"M5 3h-2v8h8v-2M9 3h3v3M7 9l5-5",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),github:o.jsx("path",{d:"M8 1a7 7 0 00-2.21 13.64c.35.06.48-.15.48-.34v-1.2c-1.95.42-2.36-.94-2.36-.94-.32-.81-.78-1.03-.78-1.03-.64-.43.05-.43.05-.43.7.05 1.07.72 1.07.72.62 1.07 1.64.76 2.04.58.06-.45.24-.76.44-.94-1.55-.18-3.18-.78-3.18-3.46 0-.76.27-1.39.72-1.88-.07-.18-.31-.89.07-1.86 0 0 .59-.19 1.92.72.56-.15 1.16-.23 1.75-.24.59 0 1.19.08 1.75.24 1.33-.9 1.92-.72 1.92-.72.38.97.14 1.68.07 1.86.45.49.72 1.12.72 1.88 0 2.69-1.64 3.28-3.19 3.45.25.22.48.65.48 1.32v1.95c0 .19.13.41.49.34A7 7 0 008 1z",fill:"currentColor"}),citation:o.jsx("path",{d:"M3 4h3v3H3zM4 7v1.5a1.5 1.5 0 01-1.5 1.5M9 4h3v3H9zM10 7v1.5a1.5 1.5 0 01-1.5 1.5",stroke:"currentColor",strokeWidth:"1.2",fill:"none"}),x:o.jsx("path",{d:"M2.5 2.5h3l8 11h-3zM13.5 2.5L9 7.6M2.5 13.5L7 8.4",stroke:"currentColor",strokeWidth:"1.3",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),bookmark:o.jsx("path",{d:"M4 2h8v12l-4-3-4 3V2z",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinejoin:"round"}),chart:o.jsx("path",{d:"M2 13h12M3 11l3-4 3 2 4-5",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),chat:o.jsx("path",{d:"M3 3h10v7H7l-3 3v-3H3V3z",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinejoin:"round"}),pdf:o.jsx("path",{d:"M5 2h5l3 3v9H5V2z",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinejoin:"round"}),copy:o.jsx("path",{d:"M5 5h7v8H5V5zM3 3h7v2M3 3v8h2",stroke:"currentColor",strokeWidth:"1.2",fill:"none",strokeLinejoin:"round"}),sparkle:o.jsx("path",{d:"M8 2l1.2 3.8L13 7l-3.8 1.2L8 12l-1.2-3.8L3 7l3.8-1.2L8 2z",fill:"currentColor"}),user:o.jsx("path",{d:"M8 8a3 3 0 100-6 3 3 0 000 6zM2 14c0-3 2.5-5 6-5s6 2 6 5",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round"}),globe:o.jsx("path",{d:"M8 1.5a6.5 6.5 0 100 13 6.5 6.5 0 000-13zM1.5 8h13M8 1.5c1.7 1.9 2.6 4.2 2.6 6.5s-.9 4.6-2.6 6.5M8 1.5C6.3 3.4 5.4 5.7 5.4 8s.9 4.6 2.6 6.5",stroke:"currentColor",strokeWidth:"1.2",fill:"none",strokeLinecap:"round"}),menu:o.jsx("path",{d:"M2 4h12M2 8h12M2 12h12",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round"}),close:o.jsx("path",{d:"M3 3l10 10M13 3L3 13",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round"}),pencil:o.jsx("path",{d:"M10.5 2.5l3 3L6 13H3v-3l7.5-7.5zM9 4l3 3",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),robot:o.jsx("path",{d:"M6 12.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5M3 8.062C3 6.76 4.235 5.765 5.53 5.886a26.6 26.6 0 0 0 4.94 0C11.765 5.765 13 6.76 13 8.062v1.157a.93.93 0 0 1-.765.935c-.845.147-2.34.346-4.235.346s-3.39-.2-4.235-.346A.93.93 0 0 1 3 9.219zm4.542-.827a.25.25 0 0 0-.217.068l-.92.9a25 25 0 0 1-1.871-.183a.25.25 0 0 0-.068.495c.55.076 1.232.149 2.02.193a.25.25 0 0 0 .189-.071l.754-.736l.847 1.71a.25.25 0 0 0 .404.062l.932-.97a25 25 0 0 0 1.922-.188a.25.25 0 0 0-.068-.495c-.538.074-1.207.145-1.98.189a.25.25 0 0 0-.166.076l-.754.785l-.842-1.7a.25.25 0 0 0-.182-.135M8.5 1.866a1 1 0 1 0-1 0V3h-2A4.5 4.5 0 0 0 1 7.5V8a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1v1a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-1a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1v-.5A4.5 4.5 0 0 0 10.5 3h-2zM14 7.5V13a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7.5A3.5 3.5 0 0 1 5.5 4h5A3.5 3.5 0 0 1 14 7.5",fill:"currentColor"})};return o.jsx("svg",{className:r===11?"icon-sm":"icon",viewBox:"0 0 16 16",width:r,height:r,children:e[t]})};export{s as I};
 
1
+ import{j as o}from"./index-CrYWgAoM.js";const s=({name:t,size:r=14})=>{const e={search:o.jsx("path",{d:"M11 11l3 3M7 12.5a5.5 5.5 0 110-11 5.5 5.5 0 010 11z",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round"}),arrowUp:o.jsx("path",{d:"M8 3l5 6H3l5-6z",fill:"currentColor"}),arrowLeft:o.jsx("path",{d:"M9 3l-4 5 4 5",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),arrowRight:o.jsx("path",{d:"M7 3l4 5-4 5",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),external:o.jsx("path",{d:"M5 3h-2v8h8v-2M9 3h3v3M7 9l5-5",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),github:o.jsx("path",{d:"M8 1a7 7 0 00-2.21 13.64c.35.06.48-.15.48-.34v-1.2c-1.95.42-2.36-.94-2.36-.94-.32-.81-.78-1.03-.78-1.03-.64-.43.05-.43.05-.43.7.05 1.07.72 1.07.72.62 1.07 1.64.76 2.04.58.06-.45.24-.76.44-.94-1.55-.18-3.18-.78-3.18-3.46 0-.76.27-1.39.72-1.88-.07-.18-.31-.89.07-1.86 0 0 .59-.19 1.92.72.56-.15 1.16-.23 1.75-.24.59 0 1.19.08 1.75.24 1.33-.9 1.92-.72 1.92-.72.38.97.14 1.68.07 1.86.45.49.72 1.12.72 1.88 0 2.69-1.64 3.28-3.19 3.45.25.22.48.65.48 1.32v1.95c0 .19.13.41.49.34A7 7 0 008 1z",fill:"currentColor"}),citation:o.jsx("path",{d:"M3 4h3v3H3zM4 7v1.5a1.5 1.5 0 01-1.5 1.5M9 4h3v3H9zM10 7v1.5a1.5 1.5 0 01-1.5 1.5",stroke:"currentColor",strokeWidth:"1.2",fill:"none"}),x:o.jsx("path",{d:"M2.5 2.5h3l8 11h-3zM13.5 2.5L9 7.6M2.5 13.5L7 8.4",stroke:"currentColor",strokeWidth:"1.3",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),bookmark:o.jsx("path",{d:"M4 2h8v12l-4-3-4 3V2z",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinejoin:"round"}),chart:o.jsx("path",{d:"M2 13h12M3 11l3-4 3 2 4-5",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),chat:o.jsx("path",{d:"M3 3h10v7H7l-3 3v-3H3V3z",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinejoin:"round"}),pdf:o.jsx("path",{d:"M5 2h5l3 3v9H5V2z",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinejoin:"round"}),copy:o.jsx("path",{d:"M5 5h7v8H5V5zM3 3h7v2M3 3v8h2",stroke:"currentColor",strokeWidth:"1.2",fill:"none",strokeLinejoin:"round"}),sparkle:o.jsx("path",{d:"M8 2l1.2 3.8L13 7l-3.8 1.2L8 12l-1.2-3.8L3 7l3.8-1.2L8 2z",fill:"currentColor"}),user:o.jsx("path",{d:"M8 8a3 3 0 100-6 3 3 0 000 6zM2 14c0-3 2.5-5 6-5s6 2 6 5",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round"}),globe:o.jsx("path",{d:"M8 1.5a6.5 6.5 0 100 13 6.5 6.5 0 000-13zM1.5 8h13M8 1.5c1.7 1.9 2.6 4.2 2.6 6.5s-.9 4.6-2.6 6.5M8 1.5C6.3 3.4 5.4 5.7 5.4 8s.9 4.6 2.6 6.5",stroke:"currentColor",strokeWidth:"1.2",fill:"none",strokeLinecap:"round"}),menu:o.jsx("path",{d:"M2 4h12M2 8h12M2 12h12",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round"}),close:o.jsx("path",{d:"M3 3l10 10M13 3L3 13",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round"}),pencil:o.jsx("path",{d:"M10.5 2.5l3 3L6 13H3v-3l7.5-7.5zM9 4l3 3",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),robot:o.jsx("path",{d:"M6 12.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5M3 8.062C3 6.76 4.235 5.765 5.53 5.886a26.6 26.6 0 0 0 4.94 0C11.765 5.765 13 6.76 13 8.062v1.157a.93.93 0 0 1-.765.935c-.845.147-2.34.346-4.235.346s-3.39-.2-4.235-.346A.93.93 0 0 1 3 9.219zm4.542-.827a.25.25 0 0 0-.217.068l-.92.9a25 25 0 0 1-1.871-.183a.25.25 0 0 0-.068.495c.55.076 1.232.149 2.02.193a.25.25 0 0 0 .189-.071l.754-.736l.847 1.71a.25.25 0 0 0 .404.062l.932-.97a25 25 0 0 0 1.922-.188a.25.25 0 0 0-.068-.495c-.538.074-1.207.145-1.98.189a.25.25 0 0 0-.166.076l-.754.785l-.842-1.7a.25.25 0 0 0-.182-.135M8.5 1.866a1 1 0 1 0-1 0V3h-2A4.5 4.5 0 0 0 1 7.5V8a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1v1a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-1a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1v-.5A4.5 4.5 0 0 0 10.5 3h-2zM14 7.5V13a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7.5A3.5 3.5 0 0 1 5.5 4h5A3.5 3.5 0 0 1 14 7.5",fill:"currentColor"})};return o.jsx("svg",{className:r===11?"icon-sm":"icon",viewBox:"0 0 16 16",width:r,height:r,children:e[t]})};export{s as I};
assets/{LatexTitle-CgJviprz.js → LatexTitle-TFtKXSOA.js} RENAMED
@@ -1,2 +1,2 @@
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/katex-wklAmtGL.css"])))=>i.map(i=>d[i]);
2
- import{j as l,i as A,au as $}from"./index-DL_JM2Ot.js";let g=null,L=null;function M(){return L??(L=Promise.all([$(()=>import("./katex-DkKDou_j.js"),[]),$(()=>Promise.resolve({}),__vite__mapDeps([0]))]).then(([n])=>(g=n.default,g))),L}const O=new Set([",",";",":","!"," ","quad","qquad","enspace","thinspace"]),S={a:"á",e:"é",i:"í",o:"ó",u:"ú",y:"ý",A:"Á",E:"É",I:"Í",O:"Ó",U:"Ú",Y:"Ý"},w={a:"à",e:"è",i:"ì",o:"ò",u:"ù",A:"À",E:"È",I:"Ì",O:"Ò",U:"Ù"},b={a:"â",e:"ê",i:"î",o:"ô",u:"û",A:"Â",E:"Ê",I:"Î",O:"Ô",U:"Û"},N={a:"ä",e:"ë",i:"ï",o:"ö",u:"ü",y:"ÿ",A:"Ä",E:"Ë",I:"Ï",O:"Ö",U:"Ü",Y:"Ÿ"},k={"'":S,"`":w,"^":b,'"':N,"~":{n:"ñ",N:"Ñ"}},T={ss:"ß",ae:"æ",AE:"Æ",oe:"œ",OE:"Œ",o:"ø",O:"Ø",l:"ł",L:"Ł"};function I(n,i){var e;return((e=k[n])==null?void 0:e[i])??null}function v(n,i){const e=n.indexOf("$",i+1);if(e===-1||!/\d/.test(n[i+1]??""))return e;for(let t=e;t!==-1;t=n.indexOf("$",t+1)){if(/\s/.test(n[t-1]))return-1;if(!/\d/.test(n[t+1]??""))return t}return-1}function U(n){const i=[];let e=0,t="";const r=()=>{t&&(i.push({type:"text",content:t}),t="")};for(;e<n.length;){if(n[e]==="$"&&n[e+1]==="$"){r();const o=n.indexOf("$$",e+2);if(o===-1){t+=n.slice(e);break}i.push({type:"display",content:n.slice(e+2,o)}),e=o+2;continue}if(n[e]==="$"){const o=v(n,e);if(o===-1){t+="$",e+=1;continue}r(),i.push({type:"inline",content:n.slice(e+1,o)}),e=o+1;continue}t+=n[e],e+=1}return r(),i}function d(n,i){if(n[i]!=="{")return null;let e=0;for(let t=i;t<n.length;t+=1)if(n[t]==="{")e+=1;else if(n[t]==="}"&&(e-=1,e===0))return{content:n.slice(i+1,t),end:t+1};return null}function j(n,i){let e=i+1;if(e>=n.length)return{name:"",end:e};if(!/[a-zA-Z]/.test(n[e]))return{name:n[e],end:e+1};const t=e;for(;e<n.length&&/[a-zA-Z]/.test(n[e]);)e+=1;return{name:n.slice(t,e),end:e}}function z(n,i){const e=n[i];if(e!=="^"&&e!=="_"||i+1>=n.length)return null;if(n[i+1]==="{"){const t=d(n,i+1);return t?{end:t.end}:null}return/[A-Za-z0-9+\-=.]/.test(n[i+1])?{end:i+2}:null}function y(n,i){let e=i;if(n[e]==="\\"){const{name:o,end:s}=j(n,e);if(!o)return null;if(e=s,n[e]==="{"){const a=d(n,e);a&&(e=a.end)}}else if(/[A-Za-z0-9]/.test(n[e])){let o=e+1;for(;o<n.length&&/[A-Za-z0-9]/.test(n[o]);)o+=1;if(n[o]!=="^"&&n[o]!=="_")return null;e=o}else return null;const t=i;let r=0;for(;e<n.length;){const o=z(n,e);if(!o)break;r+=1,e=o.end}return r===0?null:{latex:n.slice(t,e),end:e}}function X(n){return Array.from(new Set((n||"").trim().split(/\s+/).filter(Boolean))).sort((i,e)=>e.length-i.length)}function D(n,i,e){const t=X(i);if(!t.length)return[n];const r=t.map(s=>s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")),o=new RegExp(`(${r.join("|")})`,"gi");return n.split(o).filter(Boolean).map((s,a)=>t.some(h=>h.toLocaleLowerCase()===s.toLocaleLowerCase())?l.jsx("mark",{children:s},`${e}-mark-${a}`):s)}function m(n,i,e){const t=[];let r=0,o=0;const s=()=>`${i}-${o++}`,a=(h,f)=>h==="strong"?l.jsx("strong",{children:f},s()):l.jsx("em",{children:f},s());for(;r<n.length;){if(n[r]==="\\"){const{name:u,end:C}=j(n,r);if(r=C,T[u]){t.push(T[u]);continue}if(u.length===1&&r<n.length&&/[A-Za-z]/.test(n[r])){const c=I(u,n[r]);if(c){t.push(c),r+=1;continue}}if(u==="c"){const c=d(n,r);if((c==null?void 0:c.content.length)===1){const p={c:"ç",C:"Ç"}[c.content];if(p){t.push(p),r=c.end;continue}}}if(u==="textbf"||u==="mathbf"){const c=d(n,r);if(c){r=c.end,t.push(a("strong",m(c.content,s(),e)));continue}}if(u==="emph"||u==="textit"||u==="textsl"||u==="texttt"){const c=d(n,r);if(c){r=c.end,t.push(a("em",m(c.content,s(),e)));continue}}if(u==="color"||u==="textcolor"){const c=d(n,r);if(c){r=c.end;const p=d(n,r);p&&(r=p.end,t.push(...m(p.content,s(),e)));continue}}if(O.has(u)){t.push(" ");continue}if(u==="~"){t.push(" ");continue}const E=d(n,r);if(E){r=E.end,t.push(...m(E.content,s(),e));continue}t.push(`\\${u}`);continue}if(n[r]==="~"){t.push(" "),r+=1;continue}const h=y(n,r);if(h){t.push(l.jsx(_,{latex:h.latex,display:!1},s())),r=h.end;continue}let f=r;for(;f<n.length&&n[f]!=="\\"&&n[f]!=="~"&&!y(n,f);)f+=1;f>r&&t.push(...D(n.slice(r,f),e,s())),r=f}return t}function _({latex:n,display:i}){const[e,t]=A.useState(g);A.useEffect(()=>{if(e)return;let o=!0;return M().then(s=>{o&&t(()=>s)}),()=>{o=!1}},[e]);const r=A.useMemo(()=>{if(e)try{return e.renderToString(n.trim(),{displayMode:i,throwOnError:!1})}catch{return null}},[e,n,i]);return r===void 0?l.jsx(l.Fragment,{children:n}):r?l.jsx("span",{className:i?"katex-display":void 0,dangerouslySetInnerHTML:{__html:r}}):l.jsx(l.Fragment,{children:i?`$$${n}$$`:`$${n}$`})}function P(n,i){const e=U(n),t=[];return e.forEach((r,o)=>{const s=`latex-${o}`;if(r.type==="text"){const a=m(r.content,s,i);a.length===1?t.push(a[0]):a.length>1&&t.push(l.jsx(A.Fragment,{children:a},s));return}if(r.type==="display"){t.push(l.jsx(_,{latex:r.content,display:!0},s));return}t.push(l.jsx(_,{latex:r.content,display:!1},s))}),t.length===1?t[0]:l.jsx(l.Fragment,{children:t})}const R=({text:n,className:i="",highlight:e})=>{const t=A.useMemo(()=>P(n,e),[n,e]);return l.jsx("span",{className:i,children:t})},F=({title:n,className:i="",highlight:e})=>l.jsx(R,{text:n,className:i,highlight:e});export{F as L,R as a};
 
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/katex-wklAmtGL.css"])))=>i.map(i=>d[i]);
2
+ import{j as l,i as A,au as $}from"./index-CrYWgAoM.js";let g=null,L=null;function M(){return L??(L=Promise.all([$(()=>import("./katex-DkKDou_j.js"),[]),$(()=>Promise.resolve({}),__vite__mapDeps([0]))]).then(([n])=>(g=n.default,g))),L}const O=new Set([",",";",":","!"," ","quad","qquad","enspace","thinspace"]),S={a:"á",e:"é",i:"í",o:"ó",u:"ú",y:"ý",A:"Á",E:"É",I:"Í",O:"Ó",U:"Ú",Y:"Ý"},w={a:"à",e:"è",i:"ì",o:"ò",u:"ù",A:"À",E:"È",I:"Ì",O:"Ò",U:"Ù"},b={a:"â",e:"ê",i:"î",o:"ô",u:"û",A:"Â",E:"Ê",I:"Î",O:"Ô",U:"Û"},N={a:"ä",e:"ë",i:"ï",o:"ö",u:"ü",y:"ÿ",A:"Ä",E:"Ë",I:"Ï",O:"Ö",U:"Ü",Y:"Ÿ"},k={"'":S,"`":w,"^":b,'"':N,"~":{n:"ñ",N:"Ñ"}},T={ss:"ß",ae:"æ",AE:"Æ",oe:"œ",OE:"Œ",o:"ø",O:"Ø",l:"ł",L:"Ł"};function I(n,i){var e;return((e=k[n])==null?void 0:e[i])??null}function v(n,i){const e=n.indexOf("$",i+1);if(e===-1||!/\d/.test(n[i+1]??""))return e;for(let t=e;t!==-1;t=n.indexOf("$",t+1)){if(/\s/.test(n[t-1]))return-1;if(!/\d/.test(n[t+1]??""))return t}return-1}function U(n){const i=[];let e=0,t="";const r=()=>{t&&(i.push({type:"text",content:t}),t="")};for(;e<n.length;){if(n[e]==="$"&&n[e+1]==="$"){r();const o=n.indexOf("$$",e+2);if(o===-1){t+=n.slice(e);break}i.push({type:"display",content:n.slice(e+2,o)}),e=o+2;continue}if(n[e]==="$"){const o=v(n,e);if(o===-1){t+="$",e+=1;continue}r(),i.push({type:"inline",content:n.slice(e+1,o)}),e=o+1;continue}t+=n[e],e+=1}return r(),i}function d(n,i){if(n[i]!=="{")return null;let e=0;for(let t=i;t<n.length;t+=1)if(n[t]==="{")e+=1;else if(n[t]==="}"&&(e-=1,e===0))return{content:n.slice(i+1,t),end:t+1};return null}function j(n,i){let e=i+1;if(e>=n.length)return{name:"",end:e};if(!/[a-zA-Z]/.test(n[e]))return{name:n[e],end:e+1};const t=e;for(;e<n.length&&/[a-zA-Z]/.test(n[e]);)e+=1;return{name:n.slice(t,e),end:e}}function z(n,i){const e=n[i];if(e!=="^"&&e!=="_"||i+1>=n.length)return null;if(n[i+1]==="{"){const t=d(n,i+1);return t?{end:t.end}:null}return/[A-Za-z0-9+\-=.]/.test(n[i+1])?{end:i+2}:null}function y(n,i){let e=i;if(n[e]==="\\"){const{name:o,end:s}=j(n,e);if(!o)return null;if(e=s,n[e]==="{"){const a=d(n,e);a&&(e=a.end)}}else if(/[A-Za-z0-9]/.test(n[e])){let o=e+1;for(;o<n.length&&/[A-Za-z0-9]/.test(n[o]);)o+=1;if(n[o]!=="^"&&n[o]!=="_")return null;e=o}else return null;const t=i;let r=0;for(;e<n.length;){const o=z(n,e);if(!o)break;r+=1,e=o.end}return r===0?null:{latex:n.slice(t,e),end:e}}function X(n){return Array.from(new Set((n||"").trim().split(/\s+/).filter(Boolean))).sort((i,e)=>e.length-i.length)}function D(n,i,e){const t=X(i);if(!t.length)return[n];const r=t.map(s=>s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")),o=new RegExp(`(${r.join("|")})`,"gi");return n.split(o).filter(Boolean).map((s,a)=>t.some(h=>h.toLocaleLowerCase()===s.toLocaleLowerCase())?l.jsx("mark",{children:s},`${e}-mark-${a}`):s)}function m(n,i,e){const t=[];let r=0,o=0;const s=()=>`${i}-${o++}`,a=(h,f)=>h==="strong"?l.jsx("strong",{children:f},s()):l.jsx("em",{children:f},s());for(;r<n.length;){if(n[r]==="\\"){const{name:u,end:C}=j(n,r);if(r=C,T[u]){t.push(T[u]);continue}if(u.length===1&&r<n.length&&/[A-Za-z]/.test(n[r])){const c=I(u,n[r]);if(c){t.push(c),r+=1;continue}}if(u==="c"){const c=d(n,r);if((c==null?void 0:c.content.length)===1){const p={c:"ç",C:"Ç"}[c.content];if(p){t.push(p),r=c.end;continue}}}if(u==="textbf"||u==="mathbf"){const c=d(n,r);if(c){r=c.end,t.push(a("strong",m(c.content,s(),e)));continue}}if(u==="emph"||u==="textit"||u==="textsl"||u==="texttt"){const c=d(n,r);if(c){r=c.end,t.push(a("em",m(c.content,s(),e)));continue}}if(u==="color"||u==="textcolor"){const c=d(n,r);if(c){r=c.end;const p=d(n,r);p&&(r=p.end,t.push(...m(p.content,s(),e)));continue}}if(O.has(u)){t.push(" ");continue}if(u==="~"){t.push(" ");continue}const E=d(n,r);if(E){r=E.end,t.push(...m(E.content,s(),e));continue}t.push(`\\${u}`);continue}if(n[r]==="~"){t.push(" "),r+=1;continue}const h=y(n,r);if(h){t.push(l.jsx(_,{latex:h.latex,display:!1},s())),r=h.end;continue}let f=r;for(;f<n.length&&n[f]!=="\\"&&n[f]!=="~"&&!y(n,f);)f+=1;f>r&&t.push(...D(n.slice(r,f),e,s())),r=f}return t}function _({latex:n,display:i}){const[e,t]=A.useState(g);A.useEffect(()=>{if(e)return;let o=!0;return M().then(s=>{o&&t(()=>s)}),()=>{o=!1}},[e]);const r=A.useMemo(()=>{if(e)try{return e.renderToString(n.trim(),{displayMode:i,throwOnError:!1})}catch{return null}},[e,n,i]);return r===void 0?l.jsx(l.Fragment,{children:n}):r?l.jsx("span",{className:i?"katex-display":void 0,dangerouslySetInnerHTML:{__html:r}}):l.jsx(l.Fragment,{children:i?`$$${n}$$`:`$${n}$`})}function P(n,i){const e=U(n),t=[];return e.forEach((r,o)=>{const s=`latex-${o}`;if(r.type==="text"){const a=m(r.content,s,i);a.length===1?t.push(a[0]):a.length>1&&t.push(l.jsx(A.Fragment,{children:a},s));return}if(r.type==="display"){t.push(l.jsx(_,{latex:r.content,display:!0},s));return}t.push(l.jsx(_,{latex:r.content,display:!1},s))}),t.length===1?t[0]:l.jsx(l.Fragment,{children:t})}const R=({text:n,className:i="",highlight:e})=>{const t=A.useMemo(()=>P(n,e),[n,e]);return l.jsx("span",{className:i,children:t})},F=({title:n,className:i="",highlight:e})=>l.jsx(R,{text:n,className:i,highlight:e});export{F as L,R as a};
assets/{LoadFailurePage-BY9gZYyL.js → LoadFailurePage-DERO_21B.js} RENAMED
@@ -1 +1 @@
1
- import{m as t,j as r}from"./index-DL_JM2Ot.js";import{A as i,a as s}from"./alert-BAtahhuM.js";import a from"./NotFound-DzpdCi9I.js";function u(e,o){return e.some(t)?r.jsx(a,{}):e.some(Boolean)?r.jsx("div",{className:"page",children:r.jsx(i,{variant:"destructive",children:r.jsx(s,{children:o})})}):null}export{u as l};
 
1
+ import{m as t,j as r}from"./index-CrYWgAoM.js";import{A as i,a as s}from"./alert-BWfaZ9GT.js";import a from"./NotFound-DDD3QkLQ.js";function u(e,o){return e.some(t)?r.jsx(a,{}):e.some(Boolean)?r.jsx("div",{className:"page",children:r.jsx(i,{variant:"destructive",children:r.jsx(s,{children:o})})}):null}export{u as l};
assets/{MarkdownText-B-aaimeS.js → MarkdownText-BFhqzZUc.js} RENAMED
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/MathMarkdownText-B0eyA1iV.js","assets/index-DL_JM2Ot.js","assets/index-Wx4xO8QJ.css","assets/index-CT4oVNDi.js","assets/index-Duxgh9kf.js","assets/katex-DkKDou_j.js","assets/PaperPreviewLink-hxmZ3UPf.js","assets/index-BPdKbxHa.js","assets/hover-card-9NlCSWPH.js","assets/useMutation-BhCRLa1t.js","assets/katex-wklAmtGL.css"])))=>i.map(i=>d[i]);
2
- import{I as d,j as a,i as m,L as p,au as h}from"./index-DL_JM2Ot.js";import{r as x,P as f}from"./PaperPreviewLink-hxmZ3UPf.js";import{M as w}from"./index-Duxgh9kf.js";import{r as k}from"./index-BPdKbxHa.js";function P(t){return(t??"").split(",").map(s=>s.trim().toLowerCase()).filter(Boolean)}const _=new Set(["paperswithcode.co","www.paperswithcode.co","localhost","127.0.0.1",...P(void 0)]),j=["/methods","/paper","/papers","/tasks","/benchmark","/conferences"];function I(t,s=window.location.origin){if(!t)return null;let r;if(t.startsWith("/"))r=t;else try{const e=new URL(t,s);if(!_.has(e.hostname))return null;r=`${e.pathname}${e.search}${e.hash}`}catch{return null}const n=r.split(/[?#]/,1)[0];return j.some(e=>n===e||n.startsWith(`${e}/`))?r:null}function M(t){const r=t.split(/[?#]/,1)[0].match(/^\/papers?\/([^/]+)$/);if(!r||r[1].includes("%"))return null;const n=r[1],e=/^\d{4}[.-]\d{4,5}(?:v\d+)?$/.test(n),c=/^[1-9]\d*$/.test(n);return!e&&!c?null:d(n)}function E(t){return/\$|\\\(|\\\[/.test(t)}const L=m.lazy(()=>h(()=>import("./MathMarkdownText-B0eyA1iV.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]))),u=({text:t,className:s="",rehypePlugins:r})=>a.jsx("div",{className:s,children:a.jsx(w,{remarkPlugins:[k,x],rehypePlugins:r,components:{a:({href:n,children:e,node:c,...i})=>{const o=I(n);if(o){const l=M(o);return l?a.jsx(f,{routeId:l,to:o,...i,children:e}):a.jsx(p,{to:o,...i,children:e})}return a.jsx("a",{href:n,target:"_blank",rel:"noopener noreferrer",...i,children:e})}},children:t})}),A=t=>E(t.text)?a.jsx(m.Suspense,{fallback:a.jsx(u,{...t}),children:a.jsx(L,{...t})}):a.jsx(u,{...t});export{A as M,u as a,I as r};
 
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/MathMarkdownText-ClIBlvfP.js","assets/index-CrYWgAoM.js","assets/index-Wx4xO8QJ.css","assets/index-B3LpHPyz.js","assets/index-QDUqgJJX.js","assets/katex-DkKDou_j.js","assets/PaperPreviewLink-Dvvn-oU_.js","assets/index-CDEsSSod.js","assets/hover-card-Cwr5IQpG.js","assets/useMutation-CghM0QJV.js","assets/katex-wklAmtGL.css"])))=>i.map(i=>d[i]);
2
+ import{I as d,j as a,i as m,L as p,au as h}from"./index-CrYWgAoM.js";import{r as x,P as f}from"./PaperPreviewLink-Dvvn-oU_.js";import{M as w}from"./index-QDUqgJJX.js";import{r as k}from"./index-CDEsSSod.js";function P(t){return(t??"").split(",").map(s=>s.trim().toLowerCase()).filter(Boolean)}const _=new Set(["paperswithcode.co","www.paperswithcode.co","localhost","127.0.0.1",...P(void 0)]),j=["/methods","/paper","/papers","/tasks","/benchmark","/conferences"];function I(t,s=window.location.origin){if(!t)return null;let r;if(t.startsWith("/"))r=t;else try{const e=new URL(t,s);if(!_.has(e.hostname))return null;r=`${e.pathname}${e.search}${e.hash}`}catch{return null}const n=r.split(/[?#]/,1)[0];return j.some(e=>n===e||n.startsWith(`${e}/`))?r:null}function M(t){const r=t.split(/[?#]/,1)[0].match(/^\/papers?\/([^/]+)$/);if(!r||r[1].includes("%"))return null;const n=r[1],e=/^\d{4}[.-]\d{4,5}(?:v\d+)?$/.test(n),c=/^[1-9]\d*$/.test(n);return!e&&!c?null:d(n)}function E(t){return/\$|\\\(|\\\[/.test(t)}const L=m.lazy(()=>h(()=>import("./MathMarkdownText-ClIBlvfP.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]))),u=({text:t,className:s="",rehypePlugins:r})=>a.jsx("div",{className:s,children:a.jsx(w,{remarkPlugins:[k,x],rehypePlugins:r,components:{a:({href:n,children:e,node:c,...i})=>{const o=I(n);if(o){const l=M(o);return l?a.jsx(f,{routeId:l,to:o,...i,children:e}):a.jsx(p,{to:o,...i,children:e})}return a.jsx("a",{href:n,target:"_blank",rel:"noopener noreferrer",...i,children:e})}},children:t})}),A=t=>E(t.text)?a.jsx(m.Suspense,{fallback:a.jsx(u,{...t}),children:a.jsx(L,{...t})}):a.jsx(u,{...t});export{A as M,u as a,I as r};
assets/MathMarkdownText-B0eyA1iV.js DELETED
@@ -1 +0,0 @@
1
- import{j as o}from"./index-DL_JM2Ot.js";/* empty css */import{a as t}from"./MarkdownText-B-aaimeS.js";import{r as m}from"./index-CT4oVNDi.js";import"./PaperPreviewLink-hxmZ3UPf.js";import"./index-Duxgh9kf.js";import"./index-BPdKbxHa.js";import"./hover-card-9NlCSWPH.js";import"./useMutation-BhCRLa1t.js";import"./katex-DkKDou_j.js";const j=r=>o.jsx(t,{...r,rehypePlugins:[m]});export{j as default};
 
 
assets/MathMarkdownText-ClIBlvfP.js ADDED
@@ -0,0 +1 @@
 
 
1
+ import{j as o}from"./index-CrYWgAoM.js";/* empty css */import{a as t}from"./MarkdownText-BFhqzZUc.js";import{r as m}from"./index-B3LpHPyz.js";import"./PaperPreviewLink-Dvvn-oU_.js";import"./index-QDUqgJJX.js";import"./index-CDEsSSod.js";import"./hover-card-Cwr5IQpG.js";import"./useMutation-CghM0QJV.js";import"./katex-DkKDou_j.js";const j=r=>o.jsx(t,{...r,rehypePlugins:[m]});export{j as default};
assets/{McpShowcase-CWi38Cpu.js → McpShowcase-DuGSlHLG.js} RENAMED
@@ -1 +1 @@
1
- import{j as e,L as t}from"./index-DL_JM2Ot.js";import{A as a}from"./AgentLogos-e4Q9yKFL.js";function n({className:s="",canNavigate:r}){return e.jsxs("div",{className:`sidebar-section sidebar-section-tools ${s}`.trim(),children:[e.jsx("div",{className:"sidebar-label",children:"Use PwC with your agent"}),e.jsxs(t,{to:"/mcp",className:"action-btn sidebar-tools-mcp",title:"Connect Claude, Codex, Cursor, or OpenCode to the PwC MCP server",onClick:o=>{r&&!r()&&o.preventDefault()},children:["MCP server",e.jsx(a,{})]}),e.jsxs("p",{className:"sidebar-tools-copy",children:["Search papers, benchmarks, and leaderboards from any MCP client, or from the terminal with the"," ",e.jsxs("a",{href:"https://github.com/huggingface/pwc-cli",target:"_blank",rel:"noreferrer",children:[e.jsx("code",{children:"pwc"})," CLI"]}),"."]})]})}export{n as M};
 
1
+ import{j as e,L as t}from"./index-CrYWgAoM.js";import{A as a}from"./AgentLogos-B7GloLDi.js";function n({className:s="",canNavigate:r}){return e.jsxs("div",{className:`sidebar-section sidebar-section-tools ${s}`.trim(),children:[e.jsx("div",{className:"sidebar-label",children:"Use PwC with your agent"}),e.jsxs(t,{to:"/mcp",className:"action-btn sidebar-tools-mcp",title:"Connect Claude, Codex, Cursor, or OpenCode to the PwC MCP server",onClick:o=>{r&&!r()&&o.preventDefault()},children:["MCP server",e.jsx(a,{})]}),e.jsxs("p",{className:"sidebar-tools-copy",children:["Search papers, benchmarks, and leaderboards from any MCP client, or from the terminal with the"," ",e.jsxs("a",{href:"https://github.com/huggingface/pwc-cli",target:"_blank",rel:"noreferrer",children:[e.jsx("code",{children:"pwc"})," CLI"]}),"."]})]})}export{n as M};
assets/{McpView-DMUB2-HT.js → McpView-DyrHDWUu.js} RENAMED
@@ -1 +1 @@
1
- import{as as b,b as x,ab as m,j as e,C as j}from"./index-DL_JM2Ot.js";import{u as g,f}from"./useDocumentTitle-CK4VxG11.js";import{G as y}from"./github-4Cp2qYOr.js";import{A as v}from"./arrow-up-right-B1sXz8jv.js";import{E as o}from"./external-link-BQKIF2kZ.js";import{C as w}from"./copy-DlnZdlrV.js";const h="https://paperswithcode.co/mcp",k="https://staging.paperswithcode.co/mcp";function u(s){const a=typeof window>"u"?void 0:window.location;return a?a.hostname==="staging.paperswithcode.co"?k:a.hostname==="paperswithcode.co"||a.hostname==="www.paperswithcode.co"?h:`${a.origin.replace(/\/$/,"")}/mcp`:h}function C(s){if(!s||typeof s!="object"||s.status!=="ok"||s.service!=="pwc-mcp"||typeof s.version!="string"||typeof s.protocol!="string")throw new Error("MCP health response is invalid");return s}async function N(s){const a=new AbortController,c=()=>a.abort();s==null||s.addEventListener("abort",c,{once:!0});const n=window.setTimeout(c,5e3);try{const t=await fetch(`${u()}/health`,{headers:{Accept:"application/json"},signal:a.signal,credentials:"omit"});if(!t.ok)throw new Error("MCP service is unavailable");return C(await t.json())}finally{window.clearTimeout(n),s==null||s.removeEventListener("abort",c)}}const P=()=>b({queryKey:["mcp","health"],queryFn:({signal:s})=>N(s),retry:!1,staleTime:3e4,refetchInterval:6e4}),_=[["search_papers","Search by topic, title, author, or arXiv ID."],["list_papers","Filter and order papers by taxonomy, venue, date, or organization."],["get_paper_info","Read canonical metadata, authors, abstract, links, and resources."],["read_paper","Read stored paper Markdown with safe continuation for long papers."],["list_recent_papers","Browse the most recently indexed research."],["get_related_papers","Find related work already indexed in the catalogue."],["list_trending_papers","Discover papers with recent repository momentum."],["get_paper_evaluations","Inspect benchmark results reported by one paper."],["get_paper_lineage","Follow explicit predecessor and successor relationships."],["list_tasks","Search tasks and retrieve stable slugs for exact lookup."],["get_task","Inspect a research task and its benchmark coverage."],["list_methods","Search methods and retrieve stable slugs for exact lookup."],["get_method","Inspect a method, its source paper, and catalogue metadata."],["list_conferences","Browse conferences with imported papers."],["get_conference","Inspect one exact conference edition."],["list_organizations","Browse research organizations."],["get_organization","Inspect one exact research organization."],["list_frameworks","Browse frameworks by domain, category, or platform."],["get_framework","Inspect one exact research framework."],["list_benchmarks","Browse and filter benchmark leaderboards."],["get_benchmark","Read one benchmark, metrics, datasets, and leading results."]],S=["pwc://papers/{paper}","pwc://papers/{paper}/markdown","pwc://tasks/{task}","pwc://benchmarks/{benchmark}"],T=["Find recent papers on test-time compute and summarize the main approaches.","Compare the methods and reported benchmarks in these three arXiv papers.","What are the leading benchmarks for text-to-video generation?","Trace the predecessor and successor papers for Mamba."],d=[{key:"chatgpt",label:"ChatGPT",summary:"In workspace developer settings, add a custom MCP app and paste the server URL. Availability and admin approval vary by plan."},{key:"claude",label:"Claude",summary:"Open Settings → Connectors → Add custom connector, paste the URL, then enable Papers With Code from Search and tools."},{key:"claude-code",label:"Claude Code",summary:"Add the anonymous Streamable HTTP server from a terminal.",code:s=>`claude mcp add --transport http paperswithcode ${s}`},{key:"cursor",label:"Cursor",summary:"Add this entry to your project or user MCP configuration.",code:s=>JSON.stringify({mcpServers:{paperswithcode:{url:s}}},null,2)},{key:"vscode",label:"VS Code",summary:"Add this Streamable HTTP server to .vscode/mcp.json.",code:s=>JSON.stringify({servers:{paperswithcode:{type:"http",url:s}}},null,2)},{key:"generic",label:"Generic",summary:"Configure an anonymous, stateless Streamable HTTP server using the URL below. No API key or OAuth flow is required."}],l=({value:s,label:a})=>{const[c,n]=m.useState(!1),t=async()=>{var i;(i=navigator.clipboard)!=null&&i.writeText&&(await navigator.clipboard.writeText(s),n(!0),window.setTimeout(()=>n(!1),1500))};return e.jsxs("button",{className:"action-btn mcp-copy",type:"button",onClick:()=>void t(),"aria-label":a,children:[c?e.jsx(j,{size:16,"aria-hidden":!0}):e.jsx(w,{size:16,"aria-hidden":!0}),c?"Copied":"Copy"]})},O=()=>{var i;const s=u(),a=x(P()),[c,n]=m.useState("chatgpt"),t=d.find(r=>r.key===c)??d[0];return g(f("MCP Server")),e.jsxs("article",{className:"page mcp-page",children:[e.jsxs("a",{className:"mcp-repo-banner",href:"https://github.com/huggingface/pwc-cli",target:"_blank",rel:"noreferrer",children:[e.jsx(y,{size:20,"aria-hidden":!0}),e.jsxs("span",{children:[e.jsx("strong",{children:"huggingface/pwc-cli"}),e.jsxs("span",{children:["Open-source MCP server and ",e.jsx("code",{children:"pwc"})," command-line client"]})]}),e.jsxs("span",{className:"mcp-repo-cta",children:["View on GitHub ",e.jsx(v,{size:14,"aria-hidden":!0})]})]}),e.jsxs("header",{className:"mcp-hero",children:[e.jsxs("div",{children:[e.jsx("p",{className:"sidebar-label mcp-kicker",children:"Model Context Protocol"}),e.jsx("h1",{className:"feed-title",children:"Use Papers With Code in your AI assistant"}),e.jsx("p",{className:"mcp-lede",children:"Search research, inspect methods and benchmarks, and read complete papers through one anonymous, read-only MCP connection."}),e.jsxs("div",{className:"mcp-status","aria-live":"polite",children:[e.jsx("span",{className:a.isSuccess?"is-up":"is-unknown","aria-hidden":!0}),a.isSuccess?"Operational":"Status unavailable",a.data?` · v${a.data.version}`:""]})]}),e.jsxs("div",{className:"mcp-endpoint-card",children:[e.jsx("span",{children:"Remote MCP URL"}),e.jsx("code",{children:s}),e.jsx(l,{value:s,label:"Copy MCP server URL"})]})]}),e.jsxs("section",{className:"mcp-section","aria-labelledby":"mcp-connect",children:[e.jsxs("div",{className:"mcp-section-heading",children:[e.jsx("p",{className:"sidebar-label",children:"Connect"}),e.jsx("h2",{id:"mcp-connect",children:"One URL, your preferred client"}),e.jsx("span",{children:"Setup matrix reviewed September 13, 2026; staging qualification pending."})]}),e.jsx("div",{className:"mcp-client-tabs",role:"tablist","aria-label":"MCP client setup",children:d.map(r=>e.jsx("button",{type:"button",role:"tab","aria-selected":c===r.key,onClick:()=>n(r.key),children:r.label},r.key))}),e.jsxs("div",{className:"mcp-setup",role:"tabpanel",children:[e.jsx("p",{children:t.summary}),t.code?e.jsxs("div",{className:"mcp-code-row",children:[e.jsx("pre",{children:e.jsx("code",{children:t.code(s)})}),e.jsx(l,{value:t.code(s),label:`Copy ${t.label} setup`})]}):e.jsxs("div",{className:"mcp-code-row",children:[e.jsx("pre",{children:e.jsx("code",{children:s})}),e.jsx(l,{value:s,label:`Copy ${t.label} endpoint`})]})]})]}),e.jsxs("section",{className:"mcp-section","aria-labelledby":"mcp-capabilities",children:[e.jsxs("div",{className:"mcp-section-heading",children:[e.jsx("p",{className:"sidebar-label",children:"Capabilities"}),e.jsx("h2",{id:"mcp-capabilities",children:"Research context, structured for assistants"})]}),e.jsx("div",{className:"mcp-capability-grid",children:[["Discover","Search recent and established work with catalogue filters."],["Read","Continue through long stored papers without presenting a partial document as complete."],["Connect","Explore related work, paper lineage, tasks, and methods."],["Compare","Inspect benchmarks, datasets, metrics, and reported evaluations."]].map(([r,p])=>e.jsxs("div",{children:[e.jsx("h3",{children:r}),e.jsx("p",{children:p})]},r))})]}),e.jsxs("section",{className:"mcp-section","aria-labelledby":"mcp-tools",children:[e.jsxs("div",{className:"mcp-section-heading",children:[e.jsx("p",{className:"sidebar-label",children:"Catalogue"}),e.jsx("h2",{id:"mcp-tools",children:"Twenty-one focused, read-only tools"})]}),e.jsx("div",{className:"mcp-tool-grid",children:_.map(([r,p])=>e.jsxs("div",{className:"mcp-tool",children:[e.jsx("code",{children:r}),e.jsx("p",{children:p})]},r))}),e.jsx("h3",{className:"mcp-subheading",children:"Resource templates"}),e.jsx("div",{className:"mcp-resource-list",children:S.map(r=>e.jsx("code",{children:r},r))})]}),e.jsxs("section",{className:"mcp-section","aria-labelledby":"mcp-prompts",children:[e.jsxs("div",{className:"mcp-section-heading",children:[e.jsx("p",{className:"sidebar-label",children:"Try asking"}),e.jsx("h2",{id:"mcp-prompts",children:"Prompts that start useful research"})]}),e.jsx("div",{className:"mcp-prompt-list",children:T.map(r=>e.jsxs("div",{children:[e.jsx("p",{children:r}),e.jsx(l,{value:r,label:"Copy example prompt"})]},r))})]}),e.jsxs("section",{className:"mcp-section mcp-notes","aria-labelledby":"mcp-limits",children:[e.jsxs("div",{children:[e.jsx("p",{className:"sidebar-label mcp-kicker",children:"Limits & privacy"}),e.jsx("h2",{id:"mcp-limits",children:"Public by design"}),e.jsx("p",{children:"No account, API key, or write access. Fair-use limits are 60 total requests per minute, 10 semantic searches per minute, four concurrent requests per client, and 25 list results per call."}),e.jsx("p",{children:"MCP telemetry retains tool name, status, latency, response size, protocol, and server version—not prompts, paper IDs, cursors, resource URIs, raw IPs, authorization values, or bodies. Catalogue infrastructure has its own operational logging policy."})]}),e.jsxs("div",{children:[e.jsx("p",{className:"sidebar-label mcp-kicker",children:"Protocol & troubleshooting"}),e.jsx("h2",{children:"Streamable HTTP"}),e.jsxs("p",{children:["Primary protocol: ",((i=a.data)==null?void 0:i.protocol)??"verified during connection setup",". If setup fails, confirm your client supports remote Streamable HTTP, that custom servers are enabled by your workspace administrator, and that you pasted the URL exactly."]}),e.jsxs("nav",{className:"mcp-links","aria-label":"MCP documentation links",children:[e.jsxs("a",{href:"https://github.com/huggingface/pwc-cli",target:"_blank",rel:"noreferrer",children:["CLI repository ",e.jsx(o,{size:13})]}),e.jsxs("a",{href:"https://modelcontextprotocol.io/docs/2026-07-28/learn/server-concepts",target:"_blank",rel:"noreferrer",children:["MCP specification ",e.jsx(o,{size:13})]}),e.jsxs("a",{href:"/docs",target:"_blank",rel:"noreferrer",children:["Public API ",e.jsx(o,{size:13})]}),e.jsxs("a",{href:"/mcp/schema",target:"_blank",rel:"noreferrer",children:["MCP tool schema ",e.jsx(o,{size:13})]}),e.jsxs("a",{href:"/llms.txt",target:"_blank",rel:"noreferrer",children:["llms.txt ",e.jsx(o,{size:13})]})]})]})]})]})};export{O as default};
 
1
+ import{as as b,b as x,ab as m,j as e,C as j}from"./index-CrYWgAoM.js";import{u as g,f}from"./useDocumentTitle-BLJX3S0V.js";import{G as y}from"./github-BnonuqZU.js";import{A as v}from"./arrow-up-right-LoGNLcfY.js";import{E as o}from"./external-link-Ou0N7lM_.js";import{C as w}from"./copy-Nx3dOYtx.js";const h="https://paperswithcode.co/mcp",k="https://staging.paperswithcode.co/mcp";function u(s){const a=typeof window>"u"?void 0:window.location;return a?a.hostname==="staging.paperswithcode.co"?k:a.hostname==="paperswithcode.co"||a.hostname==="www.paperswithcode.co"?h:`${a.origin.replace(/\/$/,"")}/mcp`:h}function C(s){if(!s||typeof s!="object"||s.status!=="ok"||s.service!=="pwc-mcp"||typeof s.version!="string"||typeof s.protocol!="string")throw new Error("MCP health response is invalid");return s}async function N(s){const a=new AbortController,c=()=>a.abort();s==null||s.addEventListener("abort",c,{once:!0});const n=window.setTimeout(c,5e3);try{const t=await fetch(`${u()}/health`,{headers:{Accept:"application/json"},signal:a.signal,credentials:"omit"});if(!t.ok)throw new Error("MCP service is unavailable");return C(await t.json())}finally{window.clearTimeout(n),s==null||s.removeEventListener("abort",c)}}const P=()=>b({queryKey:["mcp","health"],queryFn:({signal:s})=>N(s),retry:!1,staleTime:3e4,refetchInterval:6e4}),_=[["search_papers","Search by topic, title, author, or arXiv ID."],["list_papers","Filter and order papers by taxonomy, venue, date, or organization."],["get_paper_info","Read canonical metadata, authors, abstract, links, and resources."],["read_paper","Read stored paper Markdown with safe continuation for long papers."],["list_recent_papers","Browse the most recently indexed research."],["get_related_papers","Find related work already indexed in the catalogue."],["list_trending_papers","Discover papers with recent repository momentum."],["get_paper_evaluations","Inspect benchmark results reported by one paper."],["get_paper_lineage","Follow explicit predecessor and successor relationships."],["list_tasks","Search tasks and retrieve stable slugs for exact lookup."],["get_task","Inspect a research task and its benchmark coverage."],["list_methods","Search methods and retrieve stable slugs for exact lookup."],["get_method","Inspect a method, its source paper, and catalogue metadata."],["list_conferences","Browse conferences with imported papers."],["get_conference","Inspect one exact conference edition."],["list_organizations","Browse research organizations."],["get_organization","Inspect one exact research organization."],["list_frameworks","Browse frameworks by domain, category, or platform."],["get_framework","Inspect one exact research framework."],["list_benchmarks","Browse and filter benchmark leaderboards."],["get_benchmark","Read one benchmark, metrics, datasets, and leading results."]],S=["pwc://papers/{paper}","pwc://papers/{paper}/markdown","pwc://tasks/{task}","pwc://benchmarks/{benchmark}"],T=["Find recent papers on test-time compute and summarize the main approaches.","Compare the methods and reported benchmarks in these three arXiv papers.","What are the leading benchmarks for text-to-video generation?","Trace the predecessor and successor papers for Mamba."],d=[{key:"chatgpt",label:"ChatGPT",summary:"In workspace developer settings, add a custom MCP app and paste the server URL. Availability and admin approval vary by plan."},{key:"claude",label:"Claude",summary:"Open Settings → Connectors → Add custom connector, paste the URL, then enable Papers With Code from Search and tools."},{key:"claude-code",label:"Claude Code",summary:"Add the anonymous Streamable HTTP server from a terminal.",code:s=>`claude mcp add --transport http paperswithcode ${s}`},{key:"cursor",label:"Cursor",summary:"Add this entry to your project or user MCP configuration.",code:s=>JSON.stringify({mcpServers:{paperswithcode:{url:s}}},null,2)},{key:"vscode",label:"VS Code",summary:"Add this Streamable HTTP server to .vscode/mcp.json.",code:s=>JSON.stringify({servers:{paperswithcode:{type:"http",url:s}}},null,2)},{key:"generic",label:"Generic",summary:"Configure an anonymous, stateless Streamable HTTP server using the URL below. No API key or OAuth flow is required."}],l=({value:s,label:a})=>{const[c,n]=m.useState(!1),t=async()=>{var i;(i=navigator.clipboard)!=null&&i.writeText&&(await navigator.clipboard.writeText(s),n(!0),window.setTimeout(()=>n(!1),1500))};return e.jsxs("button",{className:"action-btn mcp-copy",type:"button",onClick:()=>void t(),"aria-label":a,children:[c?e.jsx(j,{size:16,"aria-hidden":!0}):e.jsx(w,{size:16,"aria-hidden":!0}),c?"Copied":"Copy"]})},O=()=>{var i;const s=u(),a=x(P()),[c,n]=m.useState("chatgpt"),t=d.find(r=>r.key===c)??d[0];return g(f("MCP Server")),e.jsxs("article",{className:"page mcp-page",children:[e.jsxs("a",{className:"mcp-repo-banner",href:"https://github.com/huggingface/pwc-cli",target:"_blank",rel:"noreferrer",children:[e.jsx(y,{size:20,"aria-hidden":!0}),e.jsxs("span",{children:[e.jsx("strong",{children:"huggingface/pwc-cli"}),e.jsxs("span",{children:["Open-source MCP server and ",e.jsx("code",{children:"pwc"})," command-line client"]})]}),e.jsxs("span",{className:"mcp-repo-cta",children:["View on GitHub ",e.jsx(v,{size:14,"aria-hidden":!0})]})]}),e.jsxs("header",{className:"mcp-hero",children:[e.jsxs("div",{children:[e.jsx("p",{className:"sidebar-label mcp-kicker",children:"Model Context Protocol"}),e.jsx("h1",{className:"feed-title",children:"Use Papers With Code in your AI assistant"}),e.jsx("p",{className:"mcp-lede",children:"Search research, inspect methods and benchmarks, and read complete papers through one anonymous, read-only MCP connection."}),e.jsxs("div",{className:"mcp-status","aria-live":"polite",children:[e.jsx("span",{className:a.isSuccess?"is-up":"is-unknown","aria-hidden":!0}),a.isSuccess?"Operational":"Status unavailable",a.data?` · v${a.data.version}`:""]})]}),e.jsxs("div",{className:"mcp-endpoint-card",children:[e.jsx("span",{children:"Remote MCP URL"}),e.jsx("code",{children:s}),e.jsx(l,{value:s,label:"Copy MCP server URL"})]})]}),e.jsxs("section",{className:"mcp-section","aria-labelledby":"mcp-connect",children:[e.jsxs("div",{className:"mcp-section-heading",children:[e.jsx("p",{className:"sidebar-label",children:"Connect"}),e.jsx("h2",{id:"mcp-connect",children:"One URL, your preferred client"}),e.jsx("span",{children:"Setup matrix reviewed September 13, 2026; staging qualification pending."})]}),e.jsx("div",{className:"mcp-client-tabs",role:"tablist","aria-label":"MCP client setup",children:d.map(r=>e.jsx("button",{type:"button",role:"tab","aria-selected":c===r.key,onClick:()=>n(r.key),children:r.label},r.key))}),e.jsxs("div",{className:"mcp-setup",role:"tabpanel",children:[e.jsx("p",{children:t.summary}),t.code?e.jsxs("div",{className:"mcp-code-row",children:[e.jsx("pre",{children:e.jsx("code",{children:t.code(s)})}),e.jsx(l,{value:t.code(s),label:`Copy ${t.label} setup`})]}):e.jsxs("div",{className:"mcp-code-row",children:[e.jsx("pre",{children:e.jsx("code",{children:s})}),e.jsx(l,{value:s,label:`Copy ${t.label} endpoint`})]})]})]}),e.jsxs("section",{className:"mcp-section","aria-labelledby":"mcp-capabilities",children:[e.jsxs("div",{className:"mcp-section-heading",children:[e.jsx("p",{className:"sidebar-label",children:"Capabilities"}),e.jsx("h2",{id:"mcp-capabilities",children:"Research context, structured for assistants"})]}),e.jsx("div",{className:"mcp-capability-grid",children:[["Discover","Search recent and established work with catalogue filters."],["Read","Continue through long stored papers without presenting a partial document as complete."],["Connect","Explore related work, paper lineage, tasks, and methods."],["Compare","Inspect benchmarks, datasets, metrics, and reported evaluations."]].map(([r,p])=>e.jsxs("div",{children:[e.jsx("h3",{children:r}),e.jsx("p",{children:p})]},r))})]}),e.jsxs("section",{className:"mcp-section","aria-labelledby":"mcp-tools",children:[e.jsxs("div",{className:"mcp-section-heading",children:[e.jsx("p",{className:"sidebar-label",children:"Catalogue"}),e.jsx("h2",{id:"mcp-tools",children:"Twenty-one focused, read-only tools"})]}),e.jsx("div",{className:"mcp-tool-grid",children:_.map(([r,p])=>e.jsxs("div",{className:"mcp-tool",children:[e.jsx("code",{children:r}),e.jsx("p",{children:p})]},r))}),e.jsx("h3",{className:"mcp-subheading",children:"Resource templates"}),e.jsx("div",{className:"mcp-resource-list",children:S.map(r=>e.jsx("code",{children:r},r))})]}),e.jsxs("section",{className:"mcp-section","aria-labelledby":"mcp-prompts",children:[e.jsxs("div",{className:"mcp-section-heading",children:[e.jsx("p",{className:"sidebar-label",children:"Try asking"}),e.jsx("h2",{id:"mcp-prompts",children:"Prompts that start useful research"})]}),e.jsx("div",{className:"mcp-prompt-list",children:T.map(r=>e.jsxs("div",{children:[e.jsx("p",{children:r}),e.jsx(l,{value:r,label:"Copy example prompt"})]},r))})]}),e.jsxs("section",{className:"mcp-section mcp-notes","aria-labelledby":"mcp-limits",children:[e.jsxs("div",{children:[e.jsx("p",{className:"sidebar-label mcp-kicker",children:"Limits & privacy"}),e.jsx("h2",{id:"mcp-limits",children:"Public by design"}),e.jsx("p",{children:"No account, API key, or write access. Fair-use limits are 60 total requests per minute, 10 semantic searches per minute, four concurrent requests per client, and 25 list results per call."}),e.jsx("p",{children:"MCP telemetry retains tool name, status, latency, response size, protocol, and server version—not prompts, paper IDs, cursors, resource URIs, raw IPs, authorization values, or bodies. Catalogue infrastructure has its own operational logging policy."})]}),e.jsxs("div",{children:[e.jsx("p",{className:"sidebar-label mcp-kicker",children:"Protocol & troubleshooting"}),e.jsx("h2",{children:"Streamable HTTP"}),e.jsxs("p",{children:["Primary protocol: ",((i=a.data)==null?void 0:i.protocol)??"verified during connection setup",". If setup fails, confirm your client supports remote Streamable HTTP, that custom servers are enabled by your workspace administrator, and that you pasted the URL exactly."]}),e.jsxs("nav",{className:"mcp-links","aria-label":"MCP documentation links",children:[e.jsxs("a",{href:"https://github.com/huggingface/pwc-cli",target:"_blank",rel:"noreferrer",children:["CLI repository ",e.jsx(o,{size:13})]}),e.jsxs("a",{href:"https://modelcontextprotocol.io/docs/2026-07-28/learn/server-concepts",target:"_blank",rel:"noreferrer",children:["MCP specification ",e.jsx(o,{size:13})]}),e.jsxs("a",{href:"/docs",target:"_blank",rel:"noreferrer",children:["Public API ",e.jsx(o,{size:13})]}),e.jsxs("a",{href:"/mcp/schema",target:"_blank",rel:"noreferrer",children:["MCP tool schema ",e.jsx(o,{size:13})]}),e.jsxs("a",{href:"/llms.txt",target:"_blank",rel:"noreferrer",children:["llms.txt ",e.jsx(o,{size:13})]})]})]})]})]})};export{O as default};
assets/{MethodDetailView-BL39zEst.js → MethodDetailView-DMGxspr_.js} RENAMED
@@ -1 +1 @@
1
- import{j as e,i as D,u as P,b as k,v,B,w as $,L as _}from"./index-DL_JM2Ot.js";import{R as H}from"./ResearchFollowButton-g73yztEC.js";import{M as R}from"./SotaBadges-GpZeMWYD.js";import{b as V,u as Q,c as G,P as O}from"./usePapers-DbWhzgNx.js";import{r as U,M as z}from"./MarkdownText-B-aaimeS.js";import{s as W}from"./slug-BpH-Nkvz.js";import{t as K}from"./transform-WCen521A.js";import{S as b}from"./skeleton-CKwY1CoC.js";import{s as Z}from"./safeExternalHref-CkBrsh84.js";import q from"./NotFound-DzpdCi9I.js";import{l as X}from"./LoadFailurePage-BY9gZYyL.js";import{u as Y}from"./useDocumentTitle-CK4VxG11.js";import{e as J}from"./pageTitles-CNuk5c2y.js";import"./researchTopic-Dwh-aCTS.js";import"./useMutation-BhCRLa1t.js";import"./plus-Bou0iMb2.js";import"./colors-BkWRhvFI.js";import"./PaperCard-BXiZHon_.js";import"./AuthorAvatar-CrqIFv87.js";import"./Icon-N8z7DeBC.js";import"./LatexTitle-CgJviprz.js";import"./popover-DRgAhCdU.js";import"./useIntersectionObserver-CK36kpUi.js";import"./useInfiniteQuery-hVKCzcm1.js";import"./PaperPreviewLink-hxmZ3UPf.js";import"./index-Duxgh9kf.js";import"./index-BPdKbxHa.js";import"./hover-card-9NlCSWPH.js";import"./alert-BAtahhuM.js";const t={pink:"#F8D7D9",pinkS:"#D9B0B3",yellow:"#FBEFC2",yellowS:"#C9B97D",orange:"#F8D7B3",orangeS:"#C99466",blue:"#CDE2EE",blueS:"#7FA4BA",purple:"#D4D2EA",purpleS:"#8E8AC0",green:"#CCE2C5",greenS:"#7DA475",ink:"#1A1814",faint:"#8E8678"},n=({x:s,y:r,w:l,h:d,fill:o,stroke:p,label:h,fontSize:c=10})=>e.jsxs("g",{children:[e.jsx("rect",{x:s,y:r,width:l,height:d,rx:"3",ry:"3",fill:o,stroke:p,strokeWidth:"1"}),e.jsx("text",{x:s+l/2,y:r+d/2,fontSize:c,fontFamily:"var(--sans)",fill:t.ink,textAnchor:"middle",dominantBaseline:"middle",children:h})]}),ee=()=>e.jsxs("svg",{viewBox:"0 0 360 420",width:"100%",height:"100%",style:{display:"block"},children:[e.jsx("text",{x:"180",y:"20",fontSize:"11",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.faint,textAnchor:"middle",children:"Scaled Dot-Product Attention"}),e.jsx(n,{x:140,y:40,w:80,h:26,fill:t.yellow,stroke:t.yellowS,label:"MatMul",fontSize:11}),e.jsx("path",{d:"M180 66 L180 80",stroke:t.ink}),e.jsx(n,{x:140,y:80,w:80,h:26,fill:t.green,stroke:t.greenS,label:"SoftMax",fontSize:11}),e.jsx("path",{d:"M180 106 L180 120",stroke:t.ink}),e.jsx(n,{x:140,y:120,w:80,h:26,fill:t.purple,stroke:t.purpleS,label:"Mask (opt.)",fontSize:11}),e.jsx("path",{d:"M180 146 L180 160",stroke:t.ink}),e.jsx(n,{x:140,y:160,w:80,h:26,fill:t.blue,stroke:t.blueS,label:"Scale ÷√dₖ",fontSize:11}),e.jsx("path",{d:"M180 186 L180 200",stroke:t.ink}),e.jsx(n,{x:140,y:200,w:80,h:26,fill:t.yellow,stroke:t.yellowS,label:"MatMul",fontSize:11}),e.jsx("path",{d:"M156 226 L120 270",stroke:t.ink}),e.jsx("path",{d:"M180 226 L180 270",stroke:t.ink}),e.jsx("path",{d:"M204 226 L240 270",stroke:t.ink}),e.jsx(n,{x:100,y:270,w:40,h:24,fill:t.pink,stroke:t.pinkS,label:"Q",fontSize:13}),e.jsx(n,{x:160,y:270,w:40,h:24,fill:t.pink,stroke:t.pinkS,label:"K",fontSize:13}),e.jsx(n,{x:220,y:270,w:40,h:24,fill:t.pink,stroke:t.pinkS,label:"V",fontSize:13}),e.jsxs("text",{x:"180",y:"330",fontSize:"14",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.ink,textAnchor:"middle",children:["softmax(QK",e.jsx("tspan",{fontSize:"9",baselineShift:"super",children:"⊤"})," / √d) V"]})]}),te=()=>e.jsxs("svg",{viewBox:"0 0 360 420",width:"100%",height:"100%",style:{display:"block"},children:[e.jsx("text",{x:"180",y:"20",fontSize:"11",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.faint,textAnchor:"middle",children:"Contrastive learning"}),e.jsx(n,{x:120,y:40,w:120,h:26,fill:t.blue,stroke:t.blueS,label:"Input x",fontSize:11}),e.jsx("path",{d:"M180 66 V76 M90 76 H270 M90 76 V88 M270 76 V88",stroke:t.ink}),e.jsx(n,{x:35,y:88,w:110,h:26,fill:t.yellow,stroke:t.yellowS,label:"Augment t₁",fontSize:11}),e.jsx(n,{x:215,y:88,w:110,h:26,fill:t.yellow,stroke:t.yellowS,label:"Augment t₂",fontSize:11}),e.jsx("path",{d:"M90 114 V138 M270 114 V138",stroke:t.ink}),e.jsx(n,{x:35,y:138,w:110,h:26,fill:t.orange,stroke:t.orangeS,label:"Encoder f",fontSize:11}),e.jsx(n,{x:215,y:138,w:110,h:26,fill:t.orange,stroke:t.orangeS,label:"Encoder f",fontSize:11}),e.jsx("text",{x:"180",y:"155",fontSize:"9",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.faint,textAnchor:"middle",children:"shared weights"}),e.jsx("path",{d:"M90 164 V188 M270 164 V188",stroke:t.ink}),e.jsx(n,{x:35,y:188,w:110,h:26,fill:t.purple,stroke:t.purpleS,label:"Projection g",fontSize:11}),e.jsx(n,{x:215,y:188,w:110,h:26,fill:t.purple,stroke:t.purpleS,label:"Projection g",fontSize:11}),e.jsx("path",{d:"M90 214 V238 M270 214 V238",stroke:t.ink}),e.jsx(n,{x:35,y:238,w:110,h:26,fill:t.pink,stroke:t.pinkS,label:"z₁",fontSize:13}),e.jsx(n,{x:215,y:238,w:110,h:26,fill:t.pink,stroke:t.pinkS,label:"z₂",fontSize:13}),e.jsx("path",{d:"M145 251 H215",stroke:t.greenS,strokeWidth:"1.5",strokeDasharray:"4 3"}),e.jsx("text",{x:"180",y:"244",fontSize:"9",fontFamily:"var(--sans)",fill:t.greenS,textAnchor:"middle",children:"attract"}),e.jsx("text",{x:"180",y:"318",fontSize:"12",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.ink,textAnchor:"middle",children:"Positive pair: pull together"}),e.jsx("text",{x:"180",y:"336",fontSize:"12",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.ink,textAnchor:"middle",children:"Other samples: push apart"}),e.jsx("text",{x:"180",y:"370",fontSize:"11",fontFamily:"var(--serif)",fill:t.faint,textAnchor:"middle",children:"InfoNCE: maximize sim(z₁, z₂) / τ"})]}),se=[["my-skill/",""],["├── SKILL.md","# Required: metadata + instructions"],["├── scripts/","# Optional: executable code"],["├── references/","# Optional: documentation"],["├── assets/","# Optional: templates, resources"],["└── ...","# Any additional files or directories"]],ae=()=>e.jsxs("svg",{viewBox:"0 0 360 420",width:"100%",height:"100%",style:{display:"block"},children:[e.jsx("text",{x:"180",y:"20",fontSize:"11",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.faint,textAnchor:"middle",children:"Skill package layout"}),e.jsx("rect",{x:"28",y:"48",width:"304",height:"318",rx:"8",fill:"#FFFDF8",stroke:t.faint,strokeWidth:"1"}),se.map(([s,r],l)=>{const d=92+l*44;return e.jsxs("g",{children:[e.jsx("text",{x:"44",y:d,fontSize:"11",fontFamily:"var(--mono)",fill:t.ink,dominantBaseline:"middle",children:s}),r?e.jsx("text",{x:"138",y:d,fontSize:"8.5",fontFamily:"var(--mono)",fill:t.faint,dominantBaseline:"middle",children:r}):null]},s)})]}),re={attention:ee,"contrastive-learning":te,"agent-skills":ae},le=({method:s})=>e.jsxs("svg",{viewBox:"0 0 360 420",width:"100%",height:"100%",children:[e.jsx("text",{x:"180",y:"20",fontSize:"11",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.faint,textAnchor:"middle",children:s.name||"method"}),e.jsx(n,{x:80,y:70,w:200,h:50,fill:t.blue,stroke:t.blueS,label:"Input",fontSize:12}),e.jsx("path",{d:"M180 120 L180 150",stroke:t.ink}),e.jsx(n,{x:80,y:150,w:200,h:70,fill:t.orange,stroke:t.orangeS,label:s.name||"transform",fontSize:13}),e.jsx("path",{d:"M180 220 L180 250",stroke:t.ink}),e.jsx(n,{x:80,y:250,w:200,h:50,fill:t.purple,stroke:t.purpleS,label:"Output",fontSize:12})]}),ie=({method:s})=>{const r=(s.slug||"").toLowerCase(),l=re[r];if(l)return e.jsx("div",{className:"method-figure-svg method-figure-svg--schematic",children:e.jsx(l,{})});if(s.image_url){const d=r==="transformer"||r==="gpt-4"||r==="gpt-4o"||r==="multi-head-attention"?" method-figure-svg--compact":r==="rpn"?" method-figure-svg--scaled-80":"";return e.jsx("div",{className:`method-figure-svg method-figure-svg--image${d}`,children:e.jsx("img",{className:"method-figure-img",src:s.image_url,alt:`${s.name} figure`})})}return e.jsx("div",{className:"method-figure-svg method-figure-svg--schematic",children:e.jsx(le,{method:s})})},w=720,N=138,x={top:8,right:10,bottom:25,left:36},A=56,ne=new Intl.DateTimeFormat("en",{month:"short",year:"2-digit",timeZone:"UTC"}),oe=new Intl.DateTimeFormat("en",{year:"numeric",timeZone:"UTC"}),M=s=>ne.format(new Date(`${s}T00:00:00Z`)),ce=(s,r)=>{if(s===0)return new Set;const l=s>48?12:s>36?6:s>18?3:2,d=Math.max(1,Math.ceil(A/r)),o=Math.max(l,d),p=s-1,h=new Set([0,p]);for(let c=o;c<p;c+=o)(p-c)*r>=A&&h.add(c);return h},L=s=>{if(s.coverage_status===void 0||["complete","not_applicable"].includes(s.coverage_status))return null;const r=s.processed_paper_count!==void 0&&s.eligible_paper_count!==void 0?`; ${s.processed_paper_count.toLocaleString()} of ${s.eligible_paper_count.toLocaleString()} eligible papers processed`:"";return`Historical tagging ${s.coverage_status==="failed"?"needs retry":"in progress"}${r}`},de=({history:s,methodName:r})=>{const[l,d]=D.useState(null),o=Math.max(1,...s.map(i=>i.paper_count)),p=w-x.left-x.right,h=N-x.top-x.bottom,c=s.length?p/s.length:p,a=Math.max(2,c*.68),g=ce(s.length,c),j=Array.from(new Set([0,Math.ceil(o/2),o])),f=l==null?null:s[l],y=f?L(f):null;return e.jsxs("div",{className:"method-usage-chart-wrap",children:[e.jsxs("svg",{className:"method-usage-chart",viewBox:`0 0 ${w} ${N}`,role:"group","aria-label":`${r}: papers mentioning this method by publication month`,children:[e.jsxs("title",{children:[r,": papers mentioning this method by publication month"]}),j.map(i=>{const m=x.top+h-i/o*h;return e.jsxs("g",{children:[e.jsx("line",{className:"method-usage-gridline",x1:x.left,x2:w-x.right,y1:m,y2:m}),e.jsx("text",{className:"method-usage-y-label",x:x.left-8,y:m+3,textAnchor:"end",children:i})]},i)}),s.map((i,m)=>{const u=i.paper_count/o*h,S=i.paper_count>0?Math.max(1,u):0,E=x.left+c*m+(c-a)/2,I=x.top+h-S,C=l===m,T=m===s.length-1,F=L(i);return e.jsxs("g",{className:`method-usage-bar${C?" is-active":""}${T?" is-current":""}`,tabIndex:0,role:"img","aria-label":`${M(i.start_date)}: ${i.paper_count} ${i.paper_count===1?"paper":"papers"}${F?`. ${F}`:""}`,onMouseEnter:()=>d(m),onMouseLeave:()=>d(null),onFocus:()=>d(m),onBlur:()=>d(null),children:[e.jsx("rect",{className:"method-usage-bar-hit",x:x.left+c*m,y:x.top,width:c,height:h}),e.jsx("rect",{className:"method-usage-bar-mark",x:E,y:I,width:a,height:S,rx:"1.5"})]},i.start_date)}),s.map((i,m)=>g.has(m)?e.jsx("text",{className:"method-usage-x-label",x:x.left+c*(m+.5),y:N-11,textAnchor:"middle",children:s.length>48?oe.format(new Date(`${i.start_date}T00:00:00Z`)):M(i.start_date)},i.start_date):null)]}),f&&e.jsxs("div",{className:"method-usage-tooltip",role:"status",children:[e.jsx("strong",{children:M(f.start_date)}),e.jsxs("span",{children:[f.paper_count," ",f.paper_count===1?"paper":"papers",l===s.length-1?" · month to date":""]}),e.jsxs("span",{children:[(f.catalog_share??0).toFixed(2),"% of"," ",(f.catalog_paper_count??0).toLocaleString()," catalog papers"]}),y&&e.jsx("span",{children:y})]})]})},me=new Set(["grokking","latent-reasoning","world-action-models","continuous-language-model"]),Re=()=>{var y,i,m;const{methodSlug:s}=P(),r=V({defaultToLastMonth:!0}),l=k(v.method(s));Y(l.data&&J(l.data.name));const d=k({...v.areas(),enabled:!!((y=l.data)!=null&&y.area_id)}),o=k(v.methodTrend(s)),p=Q($.method(s,r.filters),u=>B.forMethod(s,{...r.filters,page:u,page_size:20,repository_limit:1}),{enabled:!!s}),h=k(v.relatedMethods(s)),c=D.useMemo(()=>{var u;return((u=p.data)==null?void 0:u.pages.flatMap(S=>S.results.map(K)))??[]},[p.data]);if(l.isLoading)return e.jsxs("div",{className:"page",children:[e.jsx(b,{className:"h-12 w-1/2 mb-4"}),e.jsx(b,{className:"h-64 w-full"})]});if(!l.data)return X([l.error],"Failed to load this method. Please try again.")??e.jsx(q,{});const a=l.data,g=(i=d.data)==null?void 0:i.results.find(u=>u.id===a.area_id),j=U(a.source_url),f=j?null:Z(a.source_url);return e.jsxs("div",{className:"page",children:[e.jsxs("div",{className:"breadcrumb",children:[e.jsx(_,{to:"/methods",children:"Methods"}),g&&e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"sep",children:"/"}),e.jsx(_,{to:`/methods#area-${W(g.name)}`,children:g.name})]}),e.jsx("span",{className:"sep",children:"/"}),e.jsx("span",{style:{color:"var(--ink)"},children:a.name})]}),e.jsxs("div",{className:`tag-hero method-hero-grid${me.has(a.slug)?" method-hero-grid--wide-figure":""}`,children:[e.jsxs("div",{children:[e.jsx("div",{className:"tag-hero-eyebrow",children:"METHOD"}),e.jsx("h1",{className:"tag-hero-title method-hero-title",children:a.name}),e.jsx(H,{kind:"method",entityId:a.id}),a.full_name&&!a.name.includes(a.full_name)&&e.jsx("div",{style:{fontFamily:"var(--serif)",fontSize:16,fontStyle:"italic",color:"var(--ink-soft)",marginTop:8},children:a.full_name}),a.description&&e.jsx(z,{className:"method-description",text:a.description}),a.source_url&&a.source_title&&e.jsxs("div",{className:"method-source",children:[e.jsx("span",{className:"method-source-label",children:"Source"}),j?e.jsxs(_,{className:"method-source-link",to:j,target:"_blank",rel:"noopener noreferrer",children:[e.jsx("span",{className:"method-source-title",children:a.source_title}),a.introduced_year&&e.jsx("span",{className:"method-source-meta",children:a.introduced_year})]}):f?e.jsxs("a",{className:"method-source-link",href:f,target:"_blank",rel:"noopener noreferrer",children:[e.jsx("span",{className:"method-source-title",children:a.source_title}),a.introduced_year&&e.jsx("span",{className:"method-source-meta",children:a.introduced_year})]}):e.jsxs("div",{className:"method-source-link is-static",children:[e.jsx("span",{className:"method-source-title",children:a.source_title}),a.introduced_year&&e.jsx("span",{className:"method-source-meta",children:a.introduced_year})]})]}),e.jsxs("div",{className:"tag-hero-meta",children:[e.jsxs("div",{className:"stat",children:[e.jsx("span",{className:"label",children:"Papers mentioning"}),e.jsx("span",{className:"value",children:(a.paper_count??0).toLocaleString()})]}),o.data&&e.jsxs("div",{className:"stat",children:[e.jsx("span",{className:"label",children:"Recent mentions"}),e.jsxs("span",{className:"value",children:[(o.data.recent_paper_count*30/o.data.recent_days).toFixed(1),e.jsx("small",{children:"/mo"})]}),!o.data.comparison_complete&&e.jsx("span",{title:"Tagging is still catching up. This rate reflects mentions found so far.",children:"Partial coverage"})]}),a.introduced_year!=null&&e.jsxs("div",{className:"stat",children:[e.jsx("span",{className:"label",children:"Introduced"}),e.jsx("span",{className:"value",children:a.introduced_year})]})]}),o.isLoading?e.jsx(b,{className:"h-36 w-full method-trend-skeleton"}):o.data?e.jsxs("section",{className:"method-trend-panel method-trend-panel--compact",children:[e.jsxs("div",{className:"method-trend-header",children:[e.jsx("div",{children:e.jsx("div",{className:"method-trend-eyebrow",children:"Usage trend"})}),e.jsxs("div",{className:"method-trend-summary",children:[e.jsx("strong",{children:o.data.recent_paper_count}),e.jsxs("span",{children:["papers / ",o.data.recent_days,"d"]})]})]}),e.jsx(de,{history:o.data.history,methodName:a.name})]}):null]}),e.jsxs("figure",{className:"method-figure-card",children:[e.jsx(ie,{method:a}),a.image_credit&&e.jsx("figcaption",{children:e.jsx(z,{className:"method-image-credit",text:a.image_credit})})]})]}),(((m=h.data)==null?void 0:m.results.length)??0)>0&&e.jsxs("div",{className:"filter-row",children:[e.jsx("span",{className:"label",children:"Related methods"}),h.data.results.map(u=>e.jsx(R,{method:{slug:u.slug,name:u.name}},u.id))]}),e.jsx(G,{feed:r,children:e.jsxs("div",{className:"results-count",children:[c.length," papers mentioning ",a.name]})}),e.jsx(O,{query:p,cards:c,empty:r.dateRange.startDate||r.dateRange.endDate?"No papers tagged with this method in this date range.":"No papers tagged with this method yet."})]})};export{Re as default};
 
1
+ import{j as e,i as D,u as P,b as k,v,B,w as $,L as _}from"./index-CrYWgAoM.js";import{R as H}from"./ResearchFollowButton-BCIfaLgE.js";import{M as R}from"./SotaBadges-MTukWJ8b.js";import{b as V,u as Q,c as G,P as O}from"./usePapers-BPV2QuS7.js";import{r as U,M as z}from"./MarkdownText-BFhqzZUc.js";import{s as W}from"./slug-BpH-Nkvz.js";import{t as K}from"./transform-CRzM_tWE.js";import{S as b}from"./skeleton-CR7iZvat.js";import{s as Z}from"./safeExternalHref-CkBrsh84.js";import q from"./NotFound-DDD3QkLQ.js";import{l as X}from"./LoadFailurePage-DERO_21B.js";import{u as Y}from"./useDocumentTitle-BLJX3S0V.js";import{e as J}from"./pageTitles-DI-gHdpy.js";import"./researchTopic-BGjIaltV.js";import"./useMutation-CghM0QJV.js";import"./plus-BFsfRK33.js";import"./colors-BkWRhvFI.js";import"./PaperCard-CrdVyQE8.js";import"./AuthorAvatar-Cn_8_omA.js";import"./Icon-BrPPGkYF.js";import"./LatexTitle-TFtKXSOA.js";import"./popover-DfUABjJn.js";import"./useIntersectionObserver-CWHTKkKe.js";import"./useInfiniteQuery-B5y4jCiW.js";import"./PaperPreviewLink-Dvvn-oU_.js";import"./index-QDUqgJJX.js";import"./index-CDEsSSod.js";import"./hover-card-Cwr5IQpG.js";import"./alert-BWfaZ9GT.js";const t={pink:"#F8D7D9",pinkS:"#D9B0B3",yellow:"#FBEFC2",yellowS:"#C9B97D",orange:"#F8D7B3",orangeS:"#C99466",blue:"#CDE2EE",blueS:"#7FA4BA",purple:"#D4D2EA",purpleS:"#8E8AC0",green:"#CCE2C5",greenS:"#7DA475",ink:"#1A1814",faint:"#8E8678"},n=({x:s,y:r,w:l,h:d,fill:o,stroke:p,label:h,fontSize:c=10})=>e.jsxs("g",{children:[e.jsx("rect",{x:s,y:r,width:l,height:d,rx:"3",ry:"3",fill:o,stroke:p,strokeWidth:"1"}),e.jsx("text",{x:s+l/2,y:r+d/2,fontSize:c,fontFamily:"var(--sans)",fill:t.ink,textAnchor:"middle",dominantBaseline:"middle",children:h})]}),ee=()=>e.jsxs("svg",{viewBox:"0 0 360 420",width:"100%",height:"100%",style:{display:"block"},children:[e.jsx("text",{x:"180",y:"20",fontSize:"11",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.faint,textAnchor:"middle",children:"Scaled Dot-Product Attention"}),e.jsx(n,{x:140,y:40,w:80,h:26,fill:t.yellow,stroke:t.yellowS,label:"MatMul",fontSize:11}),e.jsx("path",{d:"M180 66 L180 80",stroke:t.ink}),e.jsx(n,{x:140,y:80,w:80,h:26,fill:t.green,stroke:t.greenS,label:"SoftMax",fontSize:11}),e.jsx("path",{d:"M180 106 L180 120",stroke:t.ink}),e.jsx(n,{x:140,y:120,w:80,h:26,fill:t.purple,stroke:t.purpleS,label:"Mask (opt.)",fontSize:11}),e.jsx("path",{d:"M180 146 L180 160",stroke:t.ink}),e.jsx(n,{x:140,y:160,w:80,h:26,fill:t.blue,stroke:t.blueS,label:"Scale ÷√dₖ",fontSize:11}),e.jsx("path",{d:"M180 186 L180 200",stroke:t.ink}),e.jsx(n,{x:140,y:200,w:80,h:26,fill:t.yellow,stroke:t.yellowS,label:"MatMul",fontSize:11}),e.jsx("path",{d:"M156 226 L120 270",stroke:t.ink}),e.jsx("path",{d:"M180 226 L180 270",stroke:t.ink}),e.jsx("path",{d:"M204 226 L240 270",stroke:t.ink}),e.jsx(n,{x:100,y:270,w:40,h:24,fill:t.pink,stroke:t.pinkS,label:"Q",fontSize:13}),e.jsx(n,{x:160,y:270,w:40,h:24,fill:t.pink,stroke:t.pinkS,label:"K",fontSize:13}),e.jsx(n,{x:220,y:270,w:40,h:24,fill:t.pink,stroke:t.pinkS,label:"V",fontSize:13}),e.jsxs("text",{x:"180",y:"330",fontSize:"14",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.ink,textAnchor:"middle",children:["softmax(QK",e.jsx("tspan",{fontSize:"9",baselineShift:"super",children:"⊤"})," / √d) V"]})]}),te=()=>e.jsxs("svg",{viewBox:"0 0 360 420",width:"100%",height:"100%",style:{display:"block"},children:[e.jsx("text",{x:"180",y:"20",fontSize:"11",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.faint,textAnchor:"middle",children:"Contrastive learning"}),e.jsx(n,{x:120,y:40,w:120,h:26,fill:t.blue,stroke:t.blueS,label:"Input x",fontSize:11}),e.jsx("path",{d:"M180 66 V76 M90 76 H270 M90 76 V88 M270 76 V88",stroke:t.ink}),e.jsx(n,{x:35,y:88,w:110,h:26,fill:t.yellow,stroke:t.yellowS,label:"Augment t₁",fontSize:11}),e.jsx(n,{x:215,y:88,w:110,h:26,fill:t.yellow,stroke:t.yellowS,label:"Augment t₂",fontSize:11}),e.jsx("path",{d:"M90 114 V138 M270 114 V138",stroke:t.ink}),e.jsx(n,{x:35,y:138,w:110,h:26,fill:t.orange,stroke:t.orangeS,label:"Encoder f",fontSize:11}),e.jsx(n,{x:215,y:138,w:110,h:26,fill:t.orange,stroke:t.orangeS,label:"Encoder f",fontSize:11}),e.jsx("text",{x:"180",y:"155",fontSize:"9",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.faint,textAnchor:"middle",children:"shared weights"}),e.jsx("path",{d:"M90 164 V188 M270 164 V188",stroke:t.ink}),e.jsx(n,{x:35,y:188,w:110,h:26,fill:t.purple,stroke:t.purpleS,label:"Projection g",fontSize:11}),e.jsx(n,{x:215,y:188,w:110,h:26,fill:t.purple,stroke:t.purpleS,label:"Projection g",fontSize:11}),e.jsx("path",{d:"M90 214 V238 M270 214 V238",stroke:t.ink}),e.jsx(n,{x:35,y:238,w:110,h:26,fill:t.pink,stroke:t.pinkS,label:"z₁",fontSize:13}),e.jsx(n,{x:215,y:238,w:110,h:26,fill:t.pink,stroke:t.pinkS,label:"z₂",fontSize:13}),e.jsx("path",{d:"M145 251 H215",stroke:t.greenS,strokeWidth:"1.5",strokeDasharray:"4 3"}),e.jsx("text",{x:"180",y:"244",fontSize:"9",fontFamily:"var(--sans)",fill:t.greenS,textAnchor:"middle",children:"attract"}),e.jsx("text",{x:"180",y:"318",fontSize:"12",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.ink,textAnchor:"middle",children:"Positive pair: pull together"}),e.jsx("text",{x:"180",y:"336",fontSize:"12",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.ink,textAnchor:"middle",children:"Other samples: push apart"}),e.jsx("text",{x:"180",y:"370",fontSize:"11",fontFamily:"var(--serif)",fill:t.faint,textAnchor:"middle",children:"InfoNCE: maximize sim(z₁, z₂) / τ"})]}),se=[["my-skill/",""],["├── SKILL.md","# Required: metadata + instructions"],["├── scripts/","# Optional: executable code"],["├── references/","# Optional: documentation"],["├── assets/","# Optional: templates, resources"],["└── ...","# Any additional files or directories"]],ae=()=>e.jsxs("svg",{viewBox:"0 0 360 420",width:"100%",height:"100%",style:{display:"block"},children:[e.jsx("text",{x:"180",y:"20",fontSize:"11",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.faint,textAnchor:"middle",children:"Skill package layout"}),e.jsx("rect",{x:"28",y:"48",width:"304",height:"318",rx:"8",fill:"#FFFDF8",stroke:t.faint,strokeWidth:"1"}),se.map(([s,r],l)=>{const d=92+l*44;return e.jsxs("g",{children:[e.jsx("text",{x:"44",y:d,fontSize:"11",fontFamily:"var(--mono)",fill:t.ink,dominantBaseline:"middle",children:s}),r?e.jsx("text",{x:"138",y:d,fontSize:"8.5",fontFamily:"var(--mono)",fill:t.faint,dominantBaseline:"middle",children:r}):null]},s)})]}),re={attention:ee,"contrastive-learning":te,"agent-skills":ae},le=({method:s})=>e.jsxs("svg",{viewBox:"0 0 360 420",width:"100%",height:"100%",children:[e.jsx("text",{x:"180",y:"20",fontSize:"11",fontFamily:"var(--serif)",fontStyle:"italic",fill:t.faint,textAnchor:"middle",children:s.name||"method"}),e.jsx(n,{x:80,y:70,w:200,h:50,fill:t.blue,stroke:t.blueS,label:"Input",fontSize:12}),e.jsx("path",{d:"M180 120 L180 150",stroke:t.ink}),e.jsx(n,{x:80,y:150,w:200,h:70,fill:t.orange,stroke:t.orangeS,label:s.name||"transform",fontSize:13}),e.jsx("path",{d:"M180 220 L180 250",stroke:t.ink}),e.jsx(n,{x:80,y:250,w:200,h:50,fill:t.purple,stroke:t.purpleS,label:"Output",fontSize:12})]}),ie=({method:s})=>{const r=(s.slug||"").toLowerCase(),l=re[r];if(l)return e.jsx("div",{className:"method-figure-svg method-figure-svg--schematic",children:e.jsx(l,{})});if(s.image_url){const d=r==="transformer"||r==="gpt-4"||r==="gpt-4o"||r==="multi-head-attention"?" method-figure-svg--compact":r==="rpn"?" method-figure-svg--scaled-80":"";return e.jsx("div",{className:`method-figure-svg method-figure-svg--image${d}`,children:e.jsx("img",{className:"method-figure-img",src:s.image_url,alt:`${s.name} figure`})})}return e.jsx("div",{className:"method-figure-svg method-figure-svg--schematic",children:e.jsx(le,{method:s})})},w=720,N=138,x={top:8,right:10,bottom:25,left:36},A=56,ne=new Intl.DateTimeFormat("en",{month:"short",year:"2-digit",timeZone:"UTC"}),oe=new Intl.DateTimeFormat("en",{year:"numeric",timeZone:"UTC"}),M=s=>ne.format(new Date(`${s}T00:00:00Z`)),ce=(s,r)=>{if(s===0)return new Set;const l=s>48?12:s>36?6:s>18?3:2,d=Math.max(1,Math.ceil(A/r)),o=Math.max(l,d),p=s-1,h=new Set([0,p]);for(let c=o;c<p;c+=o)(p-c)*r>=A&&h.add(c);return h},L=s=>{if(s.coverage_status===void 0||["complete","not_applicable"].includes(s.coverage_status))return null;const r=s.processed_paper_count!==void 0&&s.eligible_paper_count!==void 0?`; ${s.processed_paper_count.toLocaleString()} of ${s.eligible_paper_count.toLocaleString()} eligible papers processed`:"";return`Historical tagging ${s.coverage_status==="failed"?"needs retry":"in progress"}${r}`},de=({history:s,methodName:r})=>{const[l,d]=D.useState(null),o=Math.max(1,...s.map(i=>i.paper_count)),p=w-x.left-x.right,h=N-x.top-x.bottom,c=s.length?p/s.length:p,a=Math.max(2,c*.68),g=ce(s.length,c),j=Array.from(new Set([0,Math.ceil(o/2),o])),f=l==null?null:s[l],y=f?L(f):null;return e.jsxs("div",{className:"method-usage-chart-wrap",children:[e.jsxs("svg",{className:"method-usage-chart",viewBox:`0 0 ${w} ${N}`,role:"group","aria-label":`${r}: papers mentioning this method by publication month`,children:[e.jsxs("title",{children:[r,": papers mentioning this method by publication month"]}),j.map(i=>{const m=x.top+h-i/o*h;return e.jsxs("g",{children:[e.jsx("line",{className:"method-usage-gridline",x1:x.left,x2:w-x.right,y1:m,y2:m}),e.jsx("text",{className:"method-usage-y-label",x:x.left-8,y:m+3,textAnchor:"end",children:i})]},i)}),s.map((i,m)=>{const u=i.paper_count/o*h,S=i.paper_count>0?Math.max(1,u):0,E=x.left+c*m+(c-a)/2,I=x.top+h-S,C=l===m,T=m===s.length-1,F=L(i);return e.jsxs("g",{className:`method-usage-bar${C?" is-active":""}${T?" is-current":""}`,tabIndex:0,role:"img","aria-label":`${M(i.start_date)}: ${i.paper_count} ${i.paper_count===1?"paper":"papers"}${F?`. ${F}`:""}`,onMouseEnter:()=>d(m),onMouseLeave:()=>d(null),onFocus:()=>d(m),onBlur:()=>d(null),children:[e.jsx("rect",{className:"method-usage-bar-hit",x:x.left+c*m,y:x.top,width:c,height:h}),e.jsx("rect",{className:"method-usage-bar-mark",x:E,y:I,width:a,height:S,rx:"1.5"})]},i.start_date)}),s.map((i,m)=>g.has(m)?e.jsx("text",{className:"method-usage-x-label",x:x.left+c*(m+.5),y:N-11,textAnchor:"middle",children:s.length>48?oe.format(new Date(`${i.start_date}T00:00:00Z`)):M(i.start_date)},i.start_date):null)]}),f&&e.jsxs("div",{className:"method-usage-tooltip",role:"status",children:[e.jsx("strong",{children:M(f.start_date)}),e.jsxs("span",{children:[f.paper_count," ",f.paper_count===1?"paper":"papers",l===s.length-1?" · month to date":""]}),e.jsxs("span",{children:[(f.catalog_share??0).toFixed(2),"% of"," ",(f.catalog_paper_count??0).toLocaleString()," catalog papers"]}),y&&e.jsx("span",{children:y})]})]})},me=new Set(["grokking","latent-reasoning","world-action-models","continuous-language-model"]),Re=()=>{var y,i,m;const{methodSlug:s}=P(),r=V({defaultToLastMonth:!0}),l=k(v.method(s));Y(l.data&&J(l.data.name));const d=k({...v.areas(),enabled:!!((y=l.data)!=null&&y.area_id)}),o=k(v.methodTrend(s)),p=Q($.method(s,r.filters),u=>B.forMethod(s,{...r.filters,page:u,page_size:20,repository_limit:1}),{enabled:!!s}),h=k(v.relatedMethods(s)),c=D.useMemo(()=>{var u;return((u=p.data)==null?void 0:u.pages.flatMap(S=>S.results.map(K)))??[]},[p.data]);if(l.isLoading)return e.jsxs("div",{className:"page",children:[e.jsx(b,{className:"h-12 w-1/2 mb-4"}),e.jsx(b,{className:"h-64 w-full"})]});if(!l.data)return X([l.error],"Failed to load this method. Please try again.")??e.jsx(q,{});const a=l.data,g=(i=d.data)==null?void 0:i.results.find(u=>u.id===a.area_id),j=U(a.source_url),f=j?null:Z(a.source_url);return e.jsxs("div",{className:"page",children:[e.jsxs("div",{className:"breadcrumb",children:[e.jsx(_,{to:"/methods",children:"Methods"}),g&&e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"sep",children:"/"}),e.jsx(_,{to:`/methods#area-${W(g.name)}`,children:g.name})]}),e.jsx("span",{className:"sep",children:"/"}),e.jsx("span",{style:{color:"var(--ink)"},children:a.name})]}),e.jsxs("div",{className:`tag-hero method-hero-grid${me.has(a.slug)?" method-hero-grid--wide-figure":""}`,children:[e.jsxs("div",{children:[e.jsx("div",{className:"tag-hero-eyebrow",children:"METHOD"}),e.jsx("h1",{className:"tag-hero-title method-hero-title",children:a.name}),e.jsx(H,{kind:"method",entityId:a.id}),a.full_name&&!a.name.includes(a.full_name)&&e.jsx("div",{style:{fontFamily:"var(--serif)",fontSize:16,fontStyle:"italic",color:"var(--ink-soft)",marginTop:8},children:a.full_name}),a.description&&e.jsx(z,{className:"method-description",text:a.description}),a.source_url&&a.source_title&&e.jsxs("div",{className:"method-source",children:[e.jsx("span",{className:"method-source-label",children:"Source"}),j?e.jsxs(_,{className:"method-source-link",to:j,target:"_blank",rel:"noopener noreferrer",children:[e.jsx("span",{className:"method-source-title",children:a.source_title}),a.introduced_year&&e.jsx("span",{className:"method-source-meta",children:a.introduced_year})]}):f?e.jsxs("a",{className:"method-source-link",href:f,target:"_blank",rel:"noopener noreferrer",children:[e.jsx("span",{className:"method-source-title",children:a.source_title}),a.introduced_year&&e.jsx("span",{className:"method-source-meta",children:a.introduced_year})]}):e.jsxs("div",{className:"method-source-link is-static",children:[e.jsx("span",{className:"method-source-title",children:a.source_title}),a.introduced_year&&e.jsx("span",{className:"method-source-meta",children:a.introduced_year})]})]}),e.jsxs("div",{className:"tag-hero-meta",children:[e.jsxs("div",{className:"stat",children:[e.jsx("span",{className:"label",children:"Papers mentioning"}),e.jsx("span",{className:"value",children:(a.paper_count??0).toLocaleString()})]}),o.data&&e.jsxs("div",{className:"stat",children:[e.jsx("span",{className:"label",children:"Recent mentions"}),e.jsxs("span",{className:"value",children:[(o.data.recent_paper_count*30/o.data.recent_days).toFixed(1),e.jsx("small",{children:"/mo"})]}),!o.data.comparison_complete&&e.jsx("span",{title:"Tagging is still catching up. This rate reflects mentions found so far.",children:"Partial coverage"})]}),a.introduced_year!=null&&e.jsxs("div",{className:"stat",children:[e.jsx("span",{className:"label",children:"Introduced"}),e.jsx("span",{className:"value",children:a.introduced_year})]})]}),o.isLoading?e.jsx(b,{className:"h-36 w-full method-trend-skeleton"}):o.data?e.jsxs("section",{className:"method-trend-panel method-trend-panel--compact",children:[e.jsxs("div",{className:"method-trend-header",children:[e.jsx("div",{children:e.jsx("div",{className:"method-trend-eyebrow",children:"Usage trend"})}),e.jsxs("div",{className:"method-trend-summary",children:[e.jsx("strong",{children:o.data.recent_paper_count}),e.jsxs("span",{children:["papers / ",o.data.recent_days,"d"]})]})]}),e.jsx(de,{history:o.data.history,methodName:a.name})]}):null]}),e.jsxs("figure",{className:"method-figure-card",children:[e.jsx(ie,{method:a}),a.image_credit&&e.jsx("figcaption",{children:e.jsx(z,{className:"method-image-credit",text:a.image_credit})})]})]}),(((m=h.data)==null?void 0:m.results.length)??0)>0&&e.jsxs("div",{className:"filter-row",children:[e.jsx("span",{className:"label",children:"Related methods"}),h.data.results.map(u=>e.jsx(R,{method:{slug:u.slug,name:u.name}},u.id))]}),e.jsx(G,{feed:r,children:e.jsxs("div",{className:"results-count",children:[c.length," papers mentioning ",a.name]})}),e.jsx(O,{query:p,cards:c,empty:r.dateRange.startDate||r.dateRange.endDate?"No papers tagged with this method in this date range.":"No papers tagged with this method yet."})]})};export{Re as default};
assets/{MethodsIndexView-Dt5P63Vd.js → MethodsIndexView-CAchc0n6.js} RENAMED
@@ -1,4 +1,4 @@
1
- import{d as f,b as c,v as l,i as m,j as s,L as _}from"./index-DL_JM2Ot.js";import{s as y}from"./areas-Dvi8w2dp.js";import{s as v}from"./slug-BpH-Nkvz.js";import{A as N,a as L}from"./alert-BAtahhuM.js";import{A as T,a as M}from"./AreaSection-BE-V9m-Z.js";import{T as A}from"./TaxonomySuggestionTile-CIF_PBKQ.js";import{u as I,T as S}from"./useHashScrollOnReady-IVSovUgL.js";import{u as E}from"./useDocumentTitle-CK4VxG11.js";import{I as F}from"./pageTitles-CNuk5c2y.js";import"./skeleton-CKwY1CoC.js";import"./SignInToEditDialog-CpHMTStF.js";import"./button-TvGRvG4J.js";import"./input-CJSZmrSu.js";import"./textarea-CIb9tSG4.js";import"./searchable-select-CmqairTa.js";import"./popover-DRgAhCdU.js";import"./dialog-DR9by6nD.js";import"./search-BCfgkzCD.js";import"./loader-circle-BW9ed20f.js";import"./useMutation-BhCRLa1t.js";import"./submissions-Cm7h93Uo.js";import"./plus-Bou0iMb2.js";import"./trending-up-DYoC6LwW.js";/**
2
  * @license lucide-react v0.462.0 - ISC
3
  *
4
  * This source code is licensed under the ISC license.
 
1
+ import{d as f,b as c,v as l,i as m,j as s,L as _}from"./index-CrYWgAoM.js";import{s as y}from"./areas-Dvi8w2dp.js";import{s as v}from"./slug-BpH-Nkvz.js";import{A as N,a as L}from"./alert-BWfaZ9GT.js";import{A as T,a as M}from"./AreaSection-0kfCUYRS.js";import{T as A}from"./TaxonomySuggestionTile-WqJcc4Nh.js";import{u as I,T as S}from"./useHashScrollOnReady-CAOj1vEh.js";import{u as E}from"./useDocumentTitle-BLJX3S0V.js";import{I as F}from"./pageTitles-DI-gHdpy.js";import"./skeleton-CR7iZvat.js";import"./SignInToEditDialog-Bv3LeRt3.js";import"./button-DWQq9odL.js";import"./input-BUWCvGLt.js";import"./textarea-DVnF1aYO.js";import"./searchable-select-DpWXL1DE.js";import"./popover-DfUABjJn.js";import"./dialog-DmgW-U8s.js";import"./search-DYkHdF95.js";import"./loader-circle-CK0KphTG.js";import"./useMutation-CghM0QJV.js";import"./submissions-DGJA6GHh.js";import"./plus-BFsfRK33.js";import"./trending-up-BEq2ujbp.js";/**
2
  * @license lucide-react v0.462.0 - ISC
3
  *
4
  * This source code is licensed under the ISC license.
assets/{NotFound-DzpdCi9I.js → NotFound-DDD3QkLQ.js} RENAMED
@@ -1 +1 @@
1
- import{q as o,i as s,j as t,L as a}from"./index-DL_JM2Ot.js";const r=()=>{const e=o();return s.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),t.jsxs("div",{className:"page",style:{textAlign:"center",paddingTop:96},children:[t.jsx("h1",{className:"detail-title",style:{fontSize:96,marginBottom:8},children:"404"}),t.jsx("p",{style:{fontFamily:"var(--serif)",fontStyle:"italic",color:"var(--ink-soft)",marginBottom:24},children:"That route isn't on the map."}),t.jsx(a,{to:"/",className:"action-btn",children:"Return home"})]})};export{r as default};
 
1
+ import{q as o,i as s,j as t,L as a}from"./index-CrYWgAoM.js";const r=()=>{const e=o();return s.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),t.jsxs("div",{className:"page",style:{textAlign:"center",paddingTop:96},children:[t.jsx("h1",{className:"detail-title",style:{fontSize:96,marginBottom:8},children:"404"}),t.jsx("p",{style:{fontFamily:"var(--serif)",fontStyle:"italic",color:"var(--ink-soft)",marginBottom:24},children:"That route isn't on the map."}),t.jsx(a,{to:"/",className:"action-btn",children:"Return home"})]})};export{r as default};
assets/{OrganizationContributionGraph-C24r13Sj.js → OrganizationContributionGraph-BdogQKhU.js} RENAMED
@@ -1 +1 @@
1
- import{i as b,j as o,b as z,v as T}from"./index-DL_JM2Ot.js";import{S as v}from"./skeleton-CKwY1CoC.js";const x=24*60*60*1e3,f=12,w=3,N=new Map([[1,"Mon"],[3,"Wed"],[5,"Fri"]]),$=n=>new Date(`${n}T00:00:00Z`),S=n=>n.toISOString().slice(0,10),_=(n,a)=>{if(n===0)return 0;const i=a.findIndex(s=>n<=s);return i===-1?4:i+1},y=n=>{const a=$(n.start_date),i=$(n.end_date),s=new Date(a.getTime()-a.getUTCDay()*x),m=new Date(i.getTime()+(6-i.getUTCDay())*x),p=new Map(n.results.map(e=>[e.date,e.paper_count])),u=n.results.map(e=>e.paper_count).sort((e,g)=>e-g),c=[.25,.5,.75].map(e=>u[Math.min(u.length-1,Math.floor(u.length*e))]??1),l=[];for(let e=s.getTime();e<=m.getTime();e+=x){const g=new Date(e),d=S(g),h=e>=a.getTime()&&e<=i.getTime(),C=h?p.get(d)??0:0;l.push({key:d,date:g,count:C,inRange:h,level:_(C,c)})}const t=l.length/7,r=[];let j=-1;for(let e=0;e<t;e+=1){const d=l.slice(e*7,e*7+7).find(h=>h.inRange&&(e===0||h.date.getUTCDate()<=7));d&&d.date.getUTCMonth()!==j&&(j=d.date.getUTCMonth(),r.length>0&&e-r[r.length-1].column<3&&r.pop(),r.push({label:d.date.toLocaleString("en",{month:"short",timeZone:"UTC"}),column:e}))}return{days:l,months:r,weekCount:t}},D=({data:n,organizationName:a,title:i="Paper contributions",noun:s="paper"})=>{const m=b.useRef(null),{days:p,months:u,weekCount:c}=b.useMemo(()=>y(n),[n]),l=c*f+(c-1)*w;return b.useEffect(()=>{const t=m.current;t&&(t.scrollLeft=t.scrollWidth)},[c]),o.jsxs("section",{className:"organization-contributions","aria-labelledby":"organization-contributions-title",children:[o.jsxs("div",{className:"organization-contributions-header",children:[o.jsx("h2",{id:"organization-contributions-title",className:"organization-contributions-title",children:i}),o.jsxs("p",{className:"organization-contributions-summary",children:[n.total_count.toLocaleString()," ",n.total_count===1?s:`${s}s`," recorded in the last year"]})]}),o.jsx("div",{className:"organization-contributions-scroll",ref:m,children:o.jsxs("div",{className:"organization-contributions-plot",style:{width:l+34},role:"img","aria-label":`${a} recorded ${n.total_count} ${n.total_count===1?s:`${s}s`} in the last year`,children:[o.jsx("div",{className:"organization-contributions-weekdays","aria-hidden":"true",children:Array.from({length:7}).map((t,r)=>o.jsx("span",{children:N.get(r)??""},r))}),o.jsxs("div",{children:[o.jsx("div",{className:"organization-contributions-months",style:{width:l,gridTemplateColumns:`repeat(${c}, ${f}px)`},"aria-hidden":"true",children:u.map(t=>o.jsx("span",{style:{gridColumnStart:t.column+1},children:t.label},`${t.label}-${t.column}`))}),o.jsx("div",{className:"organization-contributions-grid",style:{width:l,gridTemplateColumns:`repeat(${c}, ${f}px)`},"aria-hidden":"true",children:p.map(t=>o.jsx("span",{className:`organization-contribution-cell ${t.inRange?`level-${t.level}`:"is-outside"}`,title:t.inRange?`${t.count} ${t.count===1?s:`${s}s`} on ${t.date.toLocaleDateString("en",{dateStyle:"long",timeZone:"UTC"})}`:void 0},t.key))})]})]})}),o.jsxs("div",{className:"organization-contributions-legend","aria-hidden":"true",children:[o.jsx("span",{children:"Fewer"}),[0,1,2,3,4].map(t=>o.jsx("span",{className:`organization-contribution-cell level-${t}`},t)),o.jsx("span",{children:"More"})]})]})},E=({organizationSlug:n,organizationName:a})=>{const i=z(T.organizationContributions(n));return i.isLoading?o.jsx(v,{className:"organization-contributions-skeleton"}):i.data?o.jsx(D,{data:i.data,organizationName:a}):null};export{D as C,E as O};
 
1
+ import{i as b,j as o,b as z,v as T}from"./index-CrYWgAoM.js";import{S as v}from"./skeleton-CR7iZvat.js";const x=24*60*60*1e3,f=12,w=3,N=new Map([[1,"Mon"],[3,"Wed"],[5,"Fri"]]),$=n=>new Date(`${n}T00:00:00Z`),S=n=>n.toISOString().slice(0,10),_=(n,a)=>{if(n===0)return 0;const i=a.findIndex(s=>n<=s);return i===-1?4:i+1},y=n=>{const a=$(n.start_date),i=$(n.end_date),s=new Date(a.getTime()-a.getUTCDay()*x),m=new Date(i.getTime()+(6-i.getUTCDay())*x),p=new Map(n.results.map(e=>[e.date,e.paper_count])),u=n.results.map(e=>e.paper_count).sort((e,g)=>e-g),c=[.25,.5,.75].map(e=>u[Math.min(u.length-1,Math.floor(u.length*e))]??1),l=[];for(let e=s.getTime();e<=m.getTime();e+=x){const g=new Date(e),d=S(g),h=e>=a.getTime()&&e<=i.getTime(),C=h?p.get(d)??0:0;l.push({key:d,date:g,count:C,inRange:h,level:_(C,c)})}const t=l.length/7,r=[];let j=-1;for(let e=0;e<t;e+=1){const d=l.slice(e*7,e*7+7).find(h=>h.inRange&&(e===0||h.date.getUTCDate()<=7));d&&d.date.getUTCMonth()!==j&&(j=d.date.getUTCMonth(),r.length>0&&e-r[r.length-1].column<3&&r.pop(),r.push({label:d.date.toLocaleString("en",{month:"short",timeZone:"UTC"}),column:e}))}return{days:l,months:r,weekCount:t}},D=({data:n,organizationName:a,title:i="Paper contributions",noun:s="paper"})=>{const m=b.useRef(null),{days:p,months:u,weekCount:c}=b.useMemo(()=>y(n),[n]),l=c*f+(c-1)*w;return b.useEffect(()=>{const t=m.current;t&&(t.scrollLeft=t.scrollWidth)},[c]),o.jsxs("section",{className:"organization-contributions","aria-labelledby":"organization-contributions-title",children:[o.jsxs("div",{className:"organization-contributions-header",children:[o.jsx("h2",{id:"organization-contributions-title",className:"organization-contributions-title",children:i}),o.jsxs("p",{className:"organization-contributions-summary",children:[n.total_count.toLocaleString()," ",n.total_count===1?s:`${s}s`," recorded in the last year"]})]}),o.jsx("div",{className:"organization-contributions-scroll",ref:m,children:o.jsxs("div",{className:"organization-contributions-plot",style:{width:l+34},role:"img","aria-label":`${a} recorded ${n.total_count} ${n.total_count===1?s:`${s}s`} in the last year`,children:[o.jsx("div",{className:"organization-contributions-weekdays","aria-hidden":"true",children:Array.from({length:7}).map((t,r)=>o.jsx("span",{children:N.get(r)??""},r))}),o.jsxs("div",{children:[o.jsx("div",{className:"organization-contributions-months",style:{width:l,gridTemplateColumns:`repeat(${c}, ${f}px)`},"aria-hidden":"true",children:u.map(t=>o.jsx("span",{style:{gridColumnStart:t.column+1},children:t.label},`${t.label}-${t.column}`))}),o.jsx("div",{className:"organization-contributions-grid",style:{width:l,gridTemplateColumns:`repeat(${c}, ${f}px)`},"aria-hidden":"true",children:p.map(t=>o.jsx("span",{className:`organization-contribution-cell ${t.inRange?`level-${t.level}`:"is-outside"}`,title:t.inRange?`${t.count} ${t.count===1?s:`${s}s`} on ${t.date.toLocaleDateString("en",{dateStyle:"long",timeZone:"UTC"})}`:void 0},t.key))})]})]})}),o.jsxs("div",{className:"organization-contributions-legend","aria-hidden":"true",children:[o.jsx("span",{children:"Fewer"}),[0,1,2,3,4].map(t=>o.jsx("span",{className:`organization-contribution-cell level-${t}`},t)),o.jsx("span",{children:"More"})]})]})},E=({organizationSlug:n,organizationName:a})=>{const i=z(T.organizationContributions(n));return i.isLoading?o.jsx(v,{className:"organization-contributions-skeleton"}):i.data?o.jsx(D,{data:i.data,organizationName:a}):null};export{D as C,E as O};
assets/{OrganizationDetailView-D7K3gRgV.js → OrganizationDetailView-B02_rOAe.js} RENAMED
@@ -1 +1 @@
1
- import{n as C,i as d,b as y,B as z,w as Q,m as I,j as a,L as F,v as L,u as E}from"./index-DL_JM2Ot.js";import{R}from"./ResearchFollowButton-g73yztEC.js";import{M as q}from"./MarkdownText-B-aaimeS.js";import{O as B}from"./OrganizationContributionGraph-C24r13Sj.js";import{b as G,u as H,c as S,P as W}from"./usePapers-DbWhzgNx.js";import{S as D}from"./searchable-select-CmqairTa.js";import{S as K}from"./skeleton-CKwY1CoC.js";import{d as v,t as U}from"./transform-WCen521A.js";import{o as V,i as Z}from"./organizationNames-BVKzYEBp.js";import k from"./NotFound-DzpdCi9I.js";import{l as J}from"./LoadFailurePage-BY9gZYyL.js";import{u as X}from"./useDocumentTitle-CK4VxG11.js";import{e as Y}from"./pageTitles-CNuk5c2y.js";import"./researchTopic-Dwh-aCTS.js";import"./useMutation-BhCRLa1t.js";import"./plus-Bou0iMb2.js";import"./PaperPreviewLink-hxmZ3UPf.js";import"./index-Duxgh9kf.js";import"./index-BPdKbxHa.js";import"./hover-card-9NlCSWPH.js";import"./PaperCard-BXiZHon_.js";import"./AuthorAvatar-CrqIFv87.js";import"./SotaBadges-GpZeMWYD.js";import"./colors-BkWRhvFI.js";import"./Icon-N8z7DeBC.js";import"./LatexTitle-CgJviprz.js";import"./safeExternalHref-CkBrsh84.js";import"./popover-DRgAhCdU.js";import"./useIntersectionObserver-CK36kpUi.js";import"./useInfiniteQuery-hVKCzcm1.js";import"./button-TvGRvG4J.js";import"./dialog-DR9by6nD.js";import"./search-BCfgkzCD.js";import"./loader-circle-BW9ed20f.js";import"./alert-BAtahhuM.js";const ee=({organizationSlug:t,taskSlug:n})=>{var x,_,j,b,N;const P=C(),c=G({defaultToLastMonth:!0}),{searchParams:$}=c,[w,u]=d.useState(!1),h=y(L.organization(t)),l=y(L.organizationAreasWithTasks(t)),p=H(Q.organization(t,n,c.filters),s=>z.forOrganization(t,{...c.filters,task:n,page:s,page_size:12}),{enabled:!!t});d.useEffect(()=>{u(!1)},[t,n]);const g=d.useMemo(()=>{var s;return(((s=l.data)==null?void 0:s.results)??[]).flatMap(o=>o.tasks.filter(r=>!!r.slug).map(r=>({...r,slug:r.slug,label:v(r.name,r.slug)})))},[l.data]),i=g.find(s=>s.slug===n),O=d.useMemo(()=>{var s;return(((s=p.data)==null?void 0:s.pages)??[]).flatMap(o=>o.results.map(U))},[p.data]),e=h.data??((x=l.data)==null?void 0:x.organization);X(e&&Y(e.name));const m=e?V(e):null,T=((j=(_=p.data)==null?void 0:_.pages[0])==null?void 0:j.count)??0;if(I(h.error))return a.jsx(k,{});const f=J([l.error,p.error],"Failed to load organization papers. Please try again.");if(f)return f;const M=s=>{const o=s.trim().toLocaleLowerCase();return g.filter(r=>`${r.label} ${r.slug}`.toLocaleLowerCase().includes(o)).map(r=>({value:r.slug,label:r.label,description:`${r.paper_count.toLocaleString()} ${r.paper_count===1?"paper":"papers"}`}))},A=s=>{const o=s==="__all__"?`/orgs/${t}`:`/orgs/${t}/${s}`,r=$.toString();P({pathname:o,search:r?`?${r}`:""})};return a.jsxs("div",{className:"page",children:[a.jsxs("nav",{className:"breadcrumb","aria-label":"Breadcrumb",children:[a.jsx(F,{to:"/",children:"Home"}),a.jsx("span",{children:" / "}),a.jsx(F,{to:"/organizations",children:"Organizations"}),a.jsx("span",{children:" / "}),a.jsx("span",{children:(e==null?void 0:e.name)??t}),i&&a.jsxs(a.Fragment,{children:[a.jsx("span",{children:" / "}),a.jsx("span",{children:v(i.name,i.slug)})]})]}),a.jsxs("header",{className:"organization-hero",children:[a.jsxs("div",{className:"organization-hero-profile",children:[a.jsx("div",{className:"organizations-eyebrow",children:"ORGANIZATION"}),a.jsxs("h1",{className:`feed-title organization-hero-title${e&&!m&&Z(e.name)?" organization-hero-title--long":""}`,children:[e!=null&&e.logo_url&&!w?a.jsx("img",{src:e.logo_url,alt:"",width:58,height:58,onError:()=>u(!0)}):e?a.jsx("span",{className:"organization-hero-monogram","aria-hidden":"true",children:(m??e.name).slice(0,1).toUpperCase()}):null,e?a.jsxs("span",{className:"organization-hero-name",children:[m??e.name,m&&a.jsx("span",{className:"organization-hero-full-name",children:e.name})]}):a.jsx(K,{className:"h-12 w-64"})]}),e&&a.jsx(R,{kind:"organization",entityId:e.id}),e&&a.jsxs("div",{className:"feed-subtitle",children:[((b=e.paper_count)==null?void 0:b.toLocaleString())??0," papers",(e.organization_trending_score??0)>0&&e.trending_rank&&a.jsxs(a.Fragment,{children:[" · #",e.trending_rank," trending this month"]})]}),(e==null?void 0:e.description)&&a.jsx(q,{className:"method-description",text:e.description}),e&&a.jsxs("div",{className:"organization-hero-links",children:[e.website_url&&a.jsx("a",{href:e.website_url,target:"_blank",rel:"noreferrer",children:"Website ↗"}),e.hf_url&&a.jsx("a",{href:e.hf_url,target:"_blank",rel:"noreferrer",children:"Hugging Face ↗"}),e.github_url&&a.jsx("a",{href:e.github_url,target:"_blank",rel:"noreferrer",children:"GitHub ↗"})]})]}),a.jsx(B,{organizationSlug:t,organizationName:(e==null?void 0:e.name)??t})]}),a.jsx(S,{feed:c,style:{alignItems:"center",gap:16},leading:a.jsx("div",{style:{minWidth:260},children:a.jsx(D,{value:n??"__all__",onChange:A,placeholder:"All tasks",searchPlaceholder:"Search organization tasks...",emptyMessage:"No matching tasks.",ariaLabel:"Filter papers by task",selectedOption:i?{value:i.slug,label:i.label,description:`${i.paper_count.toLocaleString()} ${i.paper_count===1?"paper":"papers"}`}:{value:"__all__",label:"All tasks",description:`${((N=e==null?void 0:e.paper_count)==null?void 0:N.toLocaleString())??0} papers`},queryKey:["organization-task-options",t],queryFn:async s=>{var o;return[{value:"__all__",label:"All tasks",description:`${((o=e==null?void 0:e.paper_count)==null?void 0:o.toLocaleString())??0} papers`},...M(s)]},enabled:!l.isLoading,className:"h-[38px]"})}),children:a.jsxs("div",{className:"results-count",children:[T.toLocaleString()," papers"]})}),a.jsx(W,{query:p,cards:O,showInstitution:!1,empty:(e==null?void 0:e.paper_count)===0?"No papers indexed yet":"No papers found for this selection."})]})},Qe=()=>{const{orgSlug:t,taskSlug:n}=E();return t?a.jsx(ee,{organizationSlug:t,taskSlug:n}):a.jsx(k,{})};export{Qe as default};
 
1
+ import{n as C,i as d,b as y,B as z,w as Q,m as I,j as a,L as F,v as L,u as E}from"./index-CrYWgAoM.js";import{R}from"./ResearchFollowButton-BCIfaLgE.js";import{M as q}from"./MarkdownText-BFhqzZUc.js";import{O as B}from"./OrganizationContributionGraph-BdogQKhU.js";import{b as G,u as H,c as S,P as W}from"./usePapers-BPV2QuS7.js";import{S as D}from"./searchable-select-DpWXL1DE.js";import{S as K}from"./skeleton-CR7iZvat.js";import{d as v,t as U}from"./transform-CRzM_tWE.js";import{o as V,i as Z}from"./organizationNames-BVKzYEBp.js";import k from"./NotFound-DDD3QkLQ.js";import{l as J}from"./LoadFailurePage-DERO_21B.js";import{u as X}from"./useDocumentTitle-BLJX3S0V.js";import{e as Y}from"./pageTitles-DI-gHdpy.js";import"./researchTopic-BGjIaltV.js";import"./useMutation-CghM0QJV.js";import"./plus-BFsfRK33.js";import"./PaperPreviewLink-Dvvn-oU_.js";import"./index-QDUqgJJX.js";import"./index-CDEsSSod.js";import"./hover-card-Cwr5IQpG.js";import"./PaperCard-CrdVyQE8.js";import"./AuthorAvatar-Cn_8_omA.js";import"./SotaBadges-MTukWJ8b.js";import"./colors-BkWRhvFI.js";import"./Icon-BrPPGkYF.js";import"./LatexTitle-TFtKXSOA.js";import"./safeExternalHref-CkBrsh84.js";import"./popover-DfUABjJn.js";import"./useIntersectionObserver-CWHTKkKe.js";import"./useInfiniteQuery-B5y4jCiW.js";import"./button-DWQq9odL.js";import"./dialog-DmgW-U8s.js";import"./search-DYkHdF95.js";import"./loader-circle-CK0KphTG.js";import"./alert-BWfaZ9GT.js";const ee=({organizationSlug:t,taskSlug:n})=>{var x,_,j,b,N;const P=C(),c=G({defaultToLastMonth:!0}),{searchParams:$}=c,[w,u]=d.useState(!1),h=y(L.organization(t)),l=y(L.organizationAreasWithTasks(t)),p=H(Q.organization(t,n,c.filters),s=>z.forOrganization(t,{...c.filters,task:n,page:s,page_size:12}),{enabled:!!t});d.useEffect(()=>{u(!1)},[t,n]);const g=d.useMemo(()=>{var s;return(((s=l.data)==null?void 0:s.results)??[]).flatMap(o=>o.tasks.filter(r=>!!r.slug).map(r=>({...r,slug:r.slug,label:v(r.name,r.slug)})))},[l.data]),i=g.find(s=>s.slug===n),O=d.useMemo(()=>{var s;return(((s=p.data)==null?void 0:s.pages)??[]).flatMap(o=>o.results.map(U))},[p.data]),e=h.data??((x=l.data)==null?void 0:x.organization);X(e&&Y(e.name));const m=e?V(e):null,T=((j=(_=p.data)==null?void 0:_.pages[0])==null?void 0:j.count)??0;if(I(h.error))return a.jsx(k,{});const f=J([l.error,p.error],"Failed to load organization papers. Please try again.");if(f)return f;const M=s=>{const o=s.trim().toLocaleLowerCase();return g.filter(r=>`${r.label} ${r.slug}`.toLocaleLowerCase().includes(o)).map(r=>({value:r.slug,label:r.label,description:`${r.paper_count.toLocaleString()} ${r.paper_count===1?"paper":"papers"}`}))},A=s=>{const o=s==="__all__"?`/orgs/${t}`:`/orgs/${t}/${s}`,r=$.toString();P({pathname:o,search:r?`?${r}`:""})};return a.jsxs("div",{className:"page",children:[a.jsxs("nav",{className:"breadcrumb","aria-label":"Breadcrumb",children:[a.jsx(F,{to:"/",children:"Home"}),a.jsx("span",{children:" / "}),a.jsx(F,{to:"/organizations",children:"Organizations"}),a.jsx("span",{children:" / "}),a.jsx("span",{children:(e==null?void 0:e.name)??t}),i&&a.jsxs(a.Fragment,{children:[a.jsx("span",{children:" / "}),a.jsx("span",{children:v(i.name,i.slug)})]})]}),a.jsxs("header",{className:"organization-hero",children:[a.jsxs("div",{className:"organization-hero-profile",children:[a.jsx("div",{className:"organizations-eyebrow",children:"ORGANIZATION"}),a.jsxs("h1",{className:`feed-title organization-hero-title${e&&!m&&Z(e.name)?" organization-hero-title--long":""}`,children:[e!=null&&e.logo_url&&!w?a.jsx("img",{src:e.logo_url,alt:"",width:58,height:58,onError:()=>u(!0)}):e?a.jsx("span",{className:"organization-hero-monogram","aria-hidden":"true",children:(m??e.name).slice(0,1).toUpperCase()}):null,e?a.jsxs("span",{className:"organization-hero-name",children:[m??e.name,m&&a.jsx("span",{className:"organization-hero-full-name",children:e.name})]}):a.jsx(K,{className:"h-12 w-64"})]}),e&&a.jsx(R,{kind:"organization",entityId:e.id}),e&&a.jsxs("div",{className:"feed-subtitle",children:[((b=e.paper_count)==null?void 0:b.toLocaleString())??0," papers",(e.organization_trending_score??0)>0&&e.trending_rank&&a.jsxs(a.Fragment,{children:[" · #",e.trending_rank," trending this month"]})]}),(e==null?void 0:e.description)&&a.jsx(q,{className:"method-description",text:e.description}),e&&a.jsxs("div",{className:"organization-hero-links",children:[e.website_url&&a.jsx("a",{href:e.website_url,target:"_blank",rel:"noreferrer",children:"Website ↗"}),e.hf_url&&a.jsx("a",{href:e.hf_url,target:"_blank",rel:"noreferrer",children:"Hugging Face ↗"}),e.github_url&&a.jsx("a",{href:e.github_url,target:"_blank",rel:"noreferrer",children:"GitHub ↗"})]})]}),a.jsx(B,{organizationSlug:t,organizationName:(e==null?void 0:e.name)??t})]}),a.jsx(S,{feed:c,style:{alignItems:"center",gap:16},leading:a.jsx("div",{style:{minWidth:260},children:a.jsx(D,{value:n??"__all__",onChange:A,placeholder:"All tasks",searchPlaceholder:"Search organization tasks...",emptyMessage:"No matching tasks.",ariaLabel:"Filter papers by task",selectedOption:i?{value:i.slug,label:i.label,description:`${i.paper_count.toLocaleString()} ${i.paper_count===1?"paper":"papers"}`}:{value:"__all__",label:"All tasks",description:`${((N=e==null?void 0:e.paper_count)==null?void 0:N.toLocaleString())??0} papers`},queryKey:["organization-task-options",t],queryFn:async s=>{var o;return[{value:"__all__",label:"All tasks",description:`${((o=e==null?void 0:e.paper_count)==null?void 0:o.toLocaleString())??0} papers`},...M(s)]},enabled:!l.isLoading,className:"h-[38px]"})}),children:a.jsxs("div",{className:"results-count",children:[T.toLocaleString()," papers"]})}),a.jsx(W,{query:p,cards:O,showInstitution:!1,empty:(e==null?void 0:e.paper_count)===0?"No papers indexed yet":"No papers found for this selection."})]})},Qe=()=>{const{orgSlug:t,taskSlug:n}=E();return t?a.jsx(ee,{organizationSlug:t,taskSlug:n}):a.jsx(k,{})};export{Qe as default};
assets/{OrganizationsIndexView-DA9HedTB.js → OrganizationsIndexView-ZHhPKK_D.js} RENAMED
@@ -1 +1 @@
1
- import{f as g,b as x,i as h,j as e,L as u,v as j}from"./index-DL_JM2Ot.js";import{A as N,a as y}from"./alert-BAtahhuM.js";import{u as f}from"./useDocumentTitle-CK4VxG11.js";import{I as _}from"./pageTitles-CNuk5c2y.js";const v=n=>n==="papers"||n==="name"?n:"trending",z=({organization:n})=>{const[d,i]=h.useState(!1);return!n.logo_url||d?e.jsx("span",{className:"organization-logo organization-logo--fallback","aria-hidden":"true",children:n.name.slice(0,1).toUpperCase()}):e.jsx("span",{className:"organization-logo",children:e.jsx("img",{src:n.logo_url,alt:"",width:48,height:48,onError:()=>i(!0)})})},C=()=>{f(_.organizations);const[n,d]=g(),i=v(n.get("sort")),c=n.get("q")??"",o=x(j.organizationIndex()),p=s=>{const a=new URLSearchParams(n),t=s.sort??i,r=s.query??c;t==="trending"?a.delete("sort"):a.set("sort",t),r.trim()?a.set("q",r):a.delete("q"),d(a)},m=h.useMemo(()=>{var t;const s=c.trim().toLocaleLowerCase(),a=(((t=o.data)==null?void 0:t.results)??[]).filter(r=>[r.name,r.slug,r.hf_slug??""].join(" ").toLocaleLowerCase().includes(s));return i==="papers"?[...a].sort((r,l)=>(l.paper_count??0)-(r.paper_count??0)||r.name.localeCompare(l.name)||r.slug.localeCompare(l.slug)):i==="name"?[...a].sort((r,l)=>r.name.localeCompare(l.name)||r.slug.localeCompare(l.slug)):a},[o.data,c,i]);return e.jsxs("div",{className:"page organizations-page",children:[e.jsx("div",{className:"feed-header",children:e.jsxs("div",{children:[e.jsxs("h1",{className:"feed-title",children:["AI ",e.jsx("em",{children:"Organizations"})]}),e.jsx("div",{className:"feed-subtitle",children:"Explore papers from leading AI organizations, ranked by sustained community momentum over the past 30 days."})]})}),e.jsxs("section",{"aria-labelledby":"organizations-heading",children:[e.jsxs("div",{className:"organizations-section-heading",children:[e.jsx("h2",{id:"organizations-heading",children:o.data?`${o.data.count.toLocaleString()} organizations`:"Organizations"}),e.jsx("span",{children:i==="trending"?"Ranked by 30-day momentum":i==="papers"?"Sorted by linked papers":"Sorted A–Z"})]}),e.jsxs("div",{className:"organizations-controls",children:[e.jsxs("label",{children:[e.jsx("span",{className:"sr-only",children:"Search organizations"}),e.jsx("input",{type:"search",value:c,onChange:s=>p({query:s.target.value}),placeholder:"Search organizations"})]}),e.jsx("div",{className:"organizations-sort","aria-label":"Sort organizations",children:[["trending","Trending"],["papers","Most papers"],["name","A–Z"]].map(([s,a])=>e.jsx("button",{type:"button",className:i===s?"active":"","aria-pressed":i===s,onClick:()=>p({sort:s}),children:a},s))})]}),o.isLoading?e.jsx("div",{className:"organizations-grid","aria-busy":"true","aria-label":"Loading organizations",children:Array.from({length:12}).map((s,a)=>e.jsxs("div",{className:"organization-card organization-card-skeleton",children:[e.jsxs("div",{className:"organization-card-header",children:[e.jsx("span",{className:"organization-logo"}),e.jsxs("div",{children:[e.jsx("span",{className:"organization-skeleton-line"}),e.jsx("span",{className:"organization-skeleton-line short"})]})]}),e.jsx("div",{className:"organization-card-metrics",children:e.jsx("span",{className:"organization-skeleton-line short"})}),e.jsxs("div",{className:"organization-highlight",children:[e.jsx("span",{className:"organization-skeleton-line"}),e.jsx("span",{className:"organization-skeleton-line"})]})]},a))}):o.error?e.jsx(N,{variant:"destructive",children:e.jsxs(y,{children:["Failed to load organizations."," ",e.jsx("button",{type:"button",onClick:()=>o.refetch(),children:"Try again"})]})}):m.length===0?e.jsxs("div",{className:"organizations-empty",children:["No organizations match “",c,"”."]}):e.jsx("div",{className:"organizations-grid",children:m.map(s=>{var r;const a=s.paper_count??0,t=s.first_paper_year&&s.latest_paper_year?s.first_paper_year===s.latest_paper_year?String(s.first_paper_year):`${s.first_paper_year}–${s.latest_paper_year}`:null;return e.jsxs(u,{to:`/orgs/${s.slug}`,className:"organization-card","aria-label":a?`Browse ${a.toLocaleString()} ${s.name} papers`:`Browse ${s.name} papers`,children:[e.jsxs("div",{className:"organization-card-header",children:[e.jsx(z,{organization:s}),e.jsxs("div",{children:[e.jsx("h3",{children:s.name}),e.jsxs("span",{children:["@",s.hf_slug??s.slug]})]})]}),e.jsxs("div",{className:"organization-card-metrics",children:[e.jsx("strong",{children:a.toLocaleString()}),e.jsx("span",{children:a===1?"paper":"papers"}),i==="trending"&&s.trending_rank&&e.jsxs("span",{className:"organization-rank",children:["#",s.trending_rank]})]}),e.jsxs("div",{className:"organization-highlight",children:[e.jsx("span",{children:"Trending paper"}),e.jsx("strong",{children:((r=s.top_trending_paper)==null?void 0:r.title)??"No papers indexed yet"})]}),e.jsxs("div",{className:"organization-card-footer",children:[t?`Publishing ${t}`:"Research archive ready",e.jsx("span",{"aria-hidden":"true",children:"↗"})]})]},s.id)})})]})]})};export{C as default};
 
1
+ import{f as g,b as x,i as h,j as e,L as u,v as j}from"./index-CrYWgAoM.js";import{A as N,a as y}from"./alert-BWfaZ9GT.js";import{u as f}from"./useDocumentTitle-BLJX3S0V.js";import{I as _}from"./pageTitles-DI-gHdpy.js";const v=n=>n==="papers"||n==="name"?n:"trending",z=({organization:n})=>{const[d,i]=h.useState(!1);return!n.logo_url||d?e.jsx("span",{className:"organization-logo organization-logo--fallback","aria-hidden":"true",children:n.name.slice(0,1).toUpperCase()}):e.jsx("span",{className:"organization-logo",children:e.jsx("img",{src:n.logo_url,alt:"",width:48,height:48,onError:()=>i(!0)})})},C=()=>{f(_.organizations);const[n,d]=g(),i=v(n.get("sort")),c=n.get("q")??"",o=x(j.organizationIndex()),p=s=>{const a=new URLSearchParams(n),t=s.sort??i,r=s.query??c;t==="trending"?a.delete("sort"):a.set("sort",t),r.trim()?a.set("q",r):a.delete("q"),d(a)},m=h.useMemo(()=>{var t;const s=c.trim().toLocaleLowerCase(),a=(((t=o.data)==null?void 0:t.results)??[]).filter(r=>[r.name,r.slug,r.hf_slug??""].join(" ").toLocaleLowerCase().includes(s));return i==="papers"?[...a].sort((r,l)=>(l.paper_count??0)-(r.paper_count??0)||r.name.localeCompare(l.name)||r.slug.localeCompare(l.slug)):i==="name"?[...a].sort((r,l)=>r.name.localeCompare(l.name)||r.slug.localeCompare(l.slug)):a},[o.data,c,i]);return e.jsxs("div",{className:"page organizations-page",children:[e.jsx("div",{className:"feed-header",children:e.jsxs("div",{children:[e.jsxs("h1",{className:"feed-title",children:["AI ",e.jsx("em",{children:"Organizations"})]}),e.jsx("div",{className:"feed-subtitle",children:"Explore papers from leading AI organizations, ranked by sustained community momentum over the past 30 days."})]})}),e.jsxs("section",{"aria-labelledby":"organizations-heading",children:[e.jsxs("div",{className:"organizations-section-heading",children:[e.jsx("h2",{id:"organizations-heading",children:o.data?`${o.data.count.toLocaleString()} organizations`:"Organizations"}),e.jsx("span",{children:i==="trending"?"Ranked by 30-day momentum":i==="papers"?"Sorted by linked papers":"Sorted A–Z"})]}),e.jsxs("div",{className:"organizations-controls",children:[e.jsxs("label",{children:[e.jsx("span",{className:"sr-only",children:"Search organizations"}),e.jsx("input",{type:"search",value:c,onChange:s=>p({query:s.target.value}),placeholder:"Search organizations"})]}),e.jsx("div",{className:"organizations-sort","aria-label":"Sort organizations",children:[["trending","Trending"],["papers","Most papers"],["name","A–Z"]].map(([s,a])=>e.jsx("button",{type:"button",className:i===s?"active":"","aria-pressed":i===s,onClick:()=>p({sort:s}),children:a},s))})]}),o.isLoading?e.jsx("div",{className:"organizations-grid","aria-busy":"true","aria-label":"Loading organizations",children:Array.from({length:12}).map((s,a)=>e.jsxs("div",{className:"organization-card organization-card-skeleton",children:[e.jsxs("div",{className:"organization-card-header",children:[e.jsx("span",{className:"organization-logo"}),e.jsxs("div",{children:[e.jsx("span",{className:"organization-skeleton-line"}),e.jsx("span",{className:"organization-skeleton-line short"})]})]}),e.jsx("div",{className:"organization-card-metrics",children:e.jsx("span",{className:"organization-skeleton-line short"})}),e.jsxs("div",{className:"organization-highlight",children:[e.jsx("span",{className:"organization-skeleton-line"}),e.jsx("span",{className:"organization-skeleton-line"})]})]},a))}):o.error?e.jsx(N,{variant:"destructive",children:e.jsxs(y,{children:["Failed to load organizations."," ",e.jsx("button",{type:"button",onClick:()=>o.refetch(),children:"Try again"})]})}):m.length===0?e.jsxs("div",{className:"organizations-empty",children:["No organizations match “",c,"”."]}):e.jsx("div",{className:"organizations-grid",children:m.map(s=>{var r;const a=s.paper_count??0,t=s.first_paper_year&&s.latest_paper_year?s.first_paper_year===s.latest_paper_year?String(s.first_paper_year):`${s.first_paper_year}–${s.latest_paper_year}`:null;return e.jsxs(u,{to:`/orgs/${s.slug}`,className:"organization-card","aria-label":a?`Browse ${a.toLocaleString()} ${s.name} papers`:`Browse ${s.name} papers`,children:[e.jsxs("div",{className:"organization-card-header",children:[e.jsx(z,{organization:s}),e.jsxs("div",{children:[e.jsx("h3",{children:s.name}),e.jsxs("span",{children:["@",s.hf_slug??s.slug]})]})]}),e.jsxs("div",{className:"organization-card-metrics",children:[e.jsx("strong",{children:a.toLocaleString()}),e.jsx("span",{children:a===1?"paper":"papers"}),i==="trending"&&s.trending_rank&&e.jsxs("span",{className:"organization-rank",children:["#",s.trending_rank]})]}),e.jsxs("div",{className:"organization-highlight",children:[e.jsx("span",{children:"Trending paper"}),e.jsx("strong",{children:((r=s.top_trending_paper)==null?void 0:r.title)??"No papers indexed yet"})]}),e.jsxs("div",{className:"organization-card-footer",children:[t?`Publishing ${t}`:"Research archive ready",e.jsx("span",{"aria-hidden":"true",children:"↗"})]})]},s.id)})})]})]})};export{C as default};
assets/{PaperCard-BXiZHon_.js → PaperCard-CrdVyQE8.js} RENAMED
@@ -1 +1 @@
1
- import{o as M,ab as g,M as L,j as a,L as d}from"./index-DL_JM2Ot.js";import{A as Z}from"./AuthorAvatar-CrqIFv87.js";import{P as k,S as A,T as P,M as y}from"./SotaBadges-GpZeMWYD.js";import{I as C}from"./Icon-N8z7DeBC.js";import{L as E,a as U}from"./LatexTitle-CgJviprz.js";import{s as h}from"./safeExternalHref-CkBrsh84.js";const $=({size:s=16})=>a.jsxs("svg",{className:"hf-logo",width:s,height:s,viewBox:"0 0 95 88",fill:"none","aria-hidden":"true",focusable:"false",children:[a.jsx("path",{fill:"#FFD21E",d:"M47.21 76.5a34.75 34.75 0 1 0 0-69.5 34.75 34.75 0 0 0 0 69.5Z"}),a.jsx("path",{fill:"#FF9D0B",d:"M81.96 41.75a34.75 34.75 0 1 0-69.5 0 34.75 34.75 0 0 0 69.5 0Zm-73.5 0a38.75 38.75 0 1 1 77.5 0 38.75 38.75 0 0 1-77.5 0Z"}),a.jsx("path",{fill:"#3A3B45",d:"M58.5 32.3c1.28.44 1.78 3.06 3.07 2.38a5 5 0 1 0-6.76-2.07c.61 1.15 2.55-.72 3.7-.32ZM34.95 32.3c-1.28.44-1.79 3.06-3.07 2.38a5 5 0 1 1 6.76-2.07c-.61 1.15-2.56-.72-3.7-.32Z"}),a.jsx("path",{fill:"#FF323D",d:"M46.96 56.29c9.83 0 13-8.76 13-13.26 0-2.34-1.57-1.6-4.09-.36-2.33 1.15-5.46 2.74-8.9 2.74-7.19 0-13-6.88-13-2.38s3.16 13.26 13 13.26Z"}),a.jsx("path",{fill:"#3A3B45",fillRule:"evenodd",clipRule:"evenodd",d:"M39.43 54a8.7 8.7 0 0 1 5.3-4.49c.4-.12.81.57 1.24 1.28.4.68.82 1.37 1.24 1.37.45 0 .9-.68 1.33-1.35.45-.7.89-1.38 1.32-1.25a8.61 8.61 0 0 1 5 4.17c3.73-2.94 5.1-7.74 5.1-10.7 0-2.34-1.57-1.6-4.09-.36l-.14.07c-2.31 1.15-5.39 2.67-8.77 2.67s-6.45-1.52-8.77-2.67c-2.6-1.29-4.23-2.1-4.23.29 0 3.05 1.46 8.06 5.47 10.97Z"}),a.jsx("path",{fill:"#FF9D0B",d:"M70.71 37a3.25 3.25 0 1 0 0-6.5 3.25 3.25 0 0 0 0 6.5ZM24.21 37a3.25 3.25 0 1 0 0-6.5 3.25 3.25 0 0 0 0 6.5ZM17.52 48c-1.62 0-3.06.66-4.07 1.87a5.97 5.97 0 0 0-1.33 3.76 7.1 7.1 0 0 0-1.94-.3c-1.55 0-2.95.59-3.94 1.66a5.8 5.8 0 0 0-.8 7 5.3 5.3 0 0 0-1.79 2.82c-.24.9-.48 2.8.8 4.74a5.22 5.22 0 0 0-.37 5.02c1.02 2.32 3.57 4.14 8.52 6.1 3.07 1.22 5.89 2 5.91 2.01a44.33 44.33 0 0 0 10.93 1.6c5.86 0 10.05-1.8 12.46-5.34 3.88-5.69 3.33-10.9-1.7-15.92-2.77-2.78-4.62-6.87-5-7.77-.78-2.66-2.84-5.62-6.25-5.62a5.7 5.7 0 0 0-4.6 2.46c-1-1.26-1.98-2.25-2.86-2.82A7.4 7.4 0 0 0 17.52 48Zm0 4c.51 0 1.14.22 1.82.65 2.14 1.36 6.25 8.43 7.76 11.18.5.92 1.37 1.31 2.14 1.31 1.55 0 2.75-1.53.15-3.48-3.92-2.93-2.55-7.72-.68-8.01.08-.02.17-.02.24-.02 1.7 0 2.45 2.93 2.45 2.93s2.2 5.52 5.98 9.3c3.77 3.77 3.97 6.8 1.22 10.83-1.88 2.75-5.47 3.58-9.16 3.58-3.81 0-7.73-.9-9.92-1.46-.11-.03-13.45-3.8-11.76-7 .28-.54.75-.76 1.34-.76 2.38 0 6.7 3.54 8.57 3.54.41 0 .7-.17.83-.6.79-2.85-12.06-4.05-10.98-8.17.2-.73.71-1.02 1.44-1.02 3.14 0 10.2 5.53 11.68 5.53.11 0 .2-.03.24-.1.74-1.2.33-2.04-4.9-5.2-5.21-3.16-8.88-5.06-6.8-7.33.24-.26.58-.38 1-.38 3.17 0 10.66 6.82 10.66 6.82s2.02 2.1 3.25 2.1c.28 0 .52-.1.68-.38.86-1.46-8.06-8.22-8.56-11.01-.34-1.9.24-2.85 1.31-2.85Z"}),a.jsx("path",{fill:"#FFD21E",d:"M38.6 76.69c2.75-4.04 2.55-7.07-1.22-10.84-3.78-3.77-5.98-9.3-5.98-9.3s-.82-3.2-2.69-2.9c-1.87.3-3.24 5.08.68 8.01 3.91 2.93-.78 4.92-2.29 2.17-1.5-2.75-5.62-9.82-7.76-11.18-2.13-1.35-3.63-.6-3.13 2.2.5 2.79 9.43 9.55 8.56 11-.87 1.47-3.93-1.71-3.93-1.71s-9.57-8.71-11.66-6.44c-2.08 2.27 1.59 4.17 6.8 7.33 5.23 3.16 5.64 4 4.9 5.2-.75 1.2-12.28-8.53-13.36-4.4-1.08 4.11 11.77 5.3 10.98 8.15-.8 2.85-9.06-5.38-10.74-2.18-1.7 3.21 11.65 6.98 11.76 7.01 4.3 1.12 15.25 3.49 19.08-2.12Z"}),a.jsx("path",{fill:"#FF9D0B",d:"M77.4 48c1.62 0 3.07.66 4.07 1.87a5.97 5.97 0 0 1 1.33 3.76 7.1 7.1 0 0 1 1.95-.3c1.55 0 2.95.59 3.94 1.66a5.8 5.8 0 0 1 .8 7 5.3 5.3 0 0 1 1.78 2.82c.24.9.48 2.8-.8 4.74a5.22 5.22 0 0 1 .37 5.02c-1.02 2.32-3.57 4.14-8.51 6.1-3.08 1.22-5.9 2-5.92 2.01a44.33 44.33 0 0 1-10.93 1.6c-5.86 0-10.05-1.8-12.46-5.34-3.88-5.69-3.33-10.9 1.7-15.92 2.78-2.78 4.63-6.87 5.01-7.77.78-2.66 2.83-5.62 6.24-5.62a5.7 5.7 0 0 1 4.6 2.46c1-1.26 1.98-2.25 2.87-2.82A7.4 7.4 0 0 1 77.4 48Zm0 4c-.51 0-1.13.22-1.82.65-2.13 1.36-6.25 8.43-7.76 11.18a2.43 2.43 0 0 1-2.14 1.31c-1.54 0-2.75-1.53-.14-3.48 3.91-2.93 2.54-7.72.67-8.01a1.54 1.54 0 0 0-.24-.02c-1.7 0-2.45 2.93-2.45 2.93s-2.2 5.52-5.97 9.3c-3.78 3.77-3.98 6.8-1.22 10.83 1.87 2.75 5.47 3.58 9.15 3.58 3.82 0 7.73-.9 9.93-1.46.1-.03 13.45-3.8 11.76-7-.29-.54-.75-.76-1.34-.76-2.38 0-6.71 3.54-8.57 3.54-.42 0-.71-.17-.83-.6-.8-2.85 12.05-4.05 10.97-8.17-.19-.73-.7-1.02-1.44-1.02-3.14 0-10.2 5.53-11.68 5.53-.1 0-.19-.03-.23-.1-.74-1.2-.34-2.04 4.88-5.2 5.23-3.16 8.9-5.06 6.8-7.33-.23-.26-.57-.38-.98-.38-3.18 0-10.67 6.82-10.67 6.82s-2.02 2.1-3.24 2.1a.74.74 0 0 1-.68-.38c-.87-1.46 8.05-8.22 8.55-11.01.34-1.9-.24-2.85-1.31-2.85Z"}),a.jsx("path",{fill:"#FFD21E",d:"M56.33 76.69c-2.75-4.04-2.56-7.07 1.22-10.84 3.77-3.77 5.97-9.3 5.97-9.3s.82-3.2 2.7-2.9c1.86.3 3.23 5.08-.68 8.01-3.92 2.93.78 4.92 2.28 2.17 1.51-2.75 5.63-9.82 7.76-11.18 2.13-1.35 3.64-.6 3.13 2.2-.5 2.79-9.42 9.55-8.55 11 .86 1.47 3.92-1.71 3.92-1.71s9.58-8.71 11.66-6.44c2.08 2.27-1.58 4.17-6.8 7.33-5.23 3.16-5.63 4-4.9 5.2.75 1.2 12.28-8.53 13.36-4.4 1.08 4.11-11.76 5.3-10.97 8.15.8 2.85 9.05-5.38 10.74-2.18 1.69 3.21-11.65 6.98-11.76 7.01-4.31 1.12-15.26 3.49-19.08-2.12Z"})]});function w(s){const t=[...new Set(s.map(n=>n.replace(/ \(subtask\)$/,"")))],l=t.length>3?[...t.slice(0,2),`${t.length-2} more`]:t;return l.length>1?`${l.slice(0,-1).join(", ")} and ${l[l.length-1]}`:l[0]}const z="language-modeling";function N(s){return s?s.toLowerCase().replace(/\(.*?\)/g," ").replace(/[^a-z]+/g," ").replace(/\bllm\b/g," ").replace(/\s+/g," ").trim().replace(/s$/,""):""}function B(s){return N(s.slug)==="large language model"||N(s.name)==="large language model"}function D(s){return s.tags.includes(z)?s.methods.filter(t=>!B(t)):s.methods}const S=({name:s,slug:t,logoUrl:l})=>{const[n,r]=g.useState(!1);return!l||n?null:a.jsx(d,{to:`/orgs/${t}`,className:"paper-organization-logo","aria-label":`View ${s} organization`,title:s,children:a.jsx("img",{src:l,alt:"",onError:()=>r(!0)})})},O=({paper:s,priority:t=!1,showInstitution:l=!0,highlightQuery:n,followReasons:r,isNew:m=!1})=>{const x=M(),u=`/paper/${s.id}`,i=g.useCallback(()=>{x.prefetchQuery(L.detail(s.id))},[s.id,x]),v=s.authors.slice(0,3).map((e,o)=>{var p,F;const f=(p=s.authorIds)==null?void 0:p[o],b=(F=s.authorHfProfiles)==null?void 0:F[o];return a.jsxs(g.Fragment,{children:[o>0&&", ",b&&a.jsx(Z,{className:"paper-card-author-avatar",url:b.avatarUrl}),f?a.jsx(d,{to:`/authors/${f}`,children:e}):e]},o)}),c=s.authors.length,j=D(s);return a.jsxs("article",{className:"paper-card",children:[a.jsx(d,{to:u,className:"paper-thumb-wrap",onFocus:i,onMouseEnter:i,children:a.jsx(k,{paperId:s.id,title:s.title,thumbnailUrl:s.thumbnailUrl,priority:t})}),a.jsxs("div",{className:"paper-body",children:[a.jsxs("div",{className:"paper-body-main",children:[(m||r&&r.length>0)&&a.jsxs("div",{className:"paper-follow-reason",children:[m&&a.jsx("span",{className:"paper-new-chip",children:"New"}),r&&r.length>0&&a.jsxs(a.Fragment,{children:["Because you follow ",w(r)]})]}),a.jsxs("h3",{className:"paper-title",children:[a.jsx(d,{to:u,onFocus:i,onMouseEnter:i,children:a.jsx(E,{title:s.title,highlight:n})}),l&&s.organizations.length>0&&a.jsx("span",{className:"paper-organization-logos",children:s.organizations.map(e=>a.jsx(S,{...e},e.slug))})]}),a.jsxs("div",{className:"paper-authors",children:[v,c>3&&a.jsxs("span",{children:[", ","+",c-3," authors"]}),s.date&&a.jsxs(a.Fragment,{children:[c>0?" · ":"",a.jsx("span",{children:s.date})]}),s.citations>0&&a.jsxs(a.Fragment,{children:[c>0||s.date?" · ":"",a.jsxs("span",{children:[s.citations.toLocaleString()," citations"]})]})]}),s.abstract&&a.jsx("p",{className:"paper-abstract",children:a.jsx(U,{text:s.abstract,highlight:n})}),s.sotaRanks.length>0&&a.jsx(A,{ranks:s.sotaRanks,paperHref:u}),(s.tags.length>0||j.length>0)&&a.jsxs("div",{className:"paper-tags paper-tags--clamped",children:[s.tags.map(e=>a.jsx(P,{slug:e},e)),j.map(e=>a.jsx(y,{method:e},e.id||e.slug||e.name))]})]}),(s.githubUrl||s.hfUrl)&&a.jsxs("div",{className:"paper-resources",children:[h(s.githubUrl)&&a.jsxs("a",{className:"paper-resource is-link",href:h(s.githubUrl)??void 0,target:"_blank",rel:"noopener noreferrer","aria-label":"Open GitHub repository",onClick:e=>e.stopPropagation(),children:[a.jsx(C,{name:"github",size:20}),s.velocity24h!=null&&s.velocity24h>0&&a.jsxs("span",{className:"resource-stat",children:[a.jsxs("span",{className:"resource-value",children:[a.jsx("span",{className:"gh-rate-arrow",children:"↑"}),s.velocity24h.toFixed(1)]}),a.jsx("span",{className:"resource-label",children:"stars / hr"})]})]}),h(s.hfUrl)&&s.hfKind&&a.jsxs("a",{className:"paper-resource is-link",href:h(s.hfUrl)??void 0,target:"_blank",rel:"noopener noreferrer","aria-label":`Open Hugging Face ${s.hfKind}`,onClick:e=>e.stopPropagation(),children:[a.jsx($,{size:20}),a.jsxs("span",{className:"resource-stat",children:[a.jsx("span",{className:"resource-value",children:s.hfCount}),a.jsx("span",{className:"resource-label",children:s.hfKind})]})]})]})]})]})};export{O as P};
 
1
+ import{o as M,ab as g,M as L,j as a,L as d}from"./index-CrYWgAoM.js";import{A as Z}from"./AuthorAvatar-Cn_8_omA.js";import{P as k,S as A,T as P,M as y}from"./SotaBadges-MTukWJ8b.js";import{I as C}from"./Icon-BrPPGkYF.js";import{L as E,a as U}from"./LatexTitle-TFtKXSOA.js";import{s as h}from"./safeExternalHref-CkBrsh84.js";const $=({size:s=16})=>a.jsxs("svg",{className:"hf-logo",width:s,height:s,viewBox:"0 0 95 88",fill:"none","aria-hidden":"true",focusable:"false",children:[a.jsx("path",{fill:"#FFD21E",d:"M47.21 76.5a34.75 34.75 0 1 0 0-69.5 34.75 34.75 0 0 0 0 69.5Z"}),a.jsx("path",{fill:"#FF9D0B",d:"M81.96 41.75a34.75 34.75 0 1 0-69.5 0 34.75 34.75 0 0 0 69.5 0Zm-73.5 0a38.75 38.75 0 1 1 77.5 0 38.75 38.75 0 0 1-77.5 0Z"}),a.jsx("path",{fill:"#3A3B45",d:"M58.5 32.3c1.28.44 1.78 3.06 3.07 2.38a5 5 0 1 0-6.76-2.07c.61 1.15 2.55-.72 3.7-.32ZM34.95 32.3c-1.28.44-1.79 3.06-3.07 2.38a5 5 0 1 1 6.76-2.07c-.61 1.15-2.56-.72-3.7-.32Z"}),a.jsx("path",{fill:"#FF323D",d:"M46.96 56.29c9.83 0 13-8.76 13-13.26 0-2.34-1.57-1.6-4.09-.36-2.33 1.15-5.46 2.74-8.9 2.74-7.19 0-13-6.88-13-2.38s3.16 13.26 13 13.26Z"}),a.jsx("path",{fill:"#3A3B45",fillRule:"evenodd",clipRule:"evenodd",d:"M39.43 54a8.7 8.7 0 0 1 5.3-4.49c.4-.12.81.57 1.24 1.28.4.68.82 1.37 1.24 1.37.45 0 .9-.68 1.33-1.35.45-.7.89-1.38 1.32-1.25a8.61 8.61 0 0 1 5 4.17c3.73-2.94 5.1-7.74 5.1-10.7 0-2.34-1.57-1.6-4.09-.36l-.14.07c-2.31 1.15-5.39 2.67-8.77 2.67s-6.45-1.52-8.77-2.67c-2.6-1.29-4.23-2.1-4.23.29 0 3.05 1.46 8.06 5.47 10.97Z"}),a.jsx("path",{fill:"#FF9D0B",d:"M70.71 37a3.25 3.25 0 1 0 0-6.5 3.25 3.25 0 0 0 0 6.5ZM24.21 37a3.25 3.25 0 1 0 0-6.5 3.25 3.25 0 0 0 0 6.5ZM17.52 48c-1.62 0-3.06.66-4.07 1.87a5.97 5.97 0 0 0-1.33 3.76 7.1 7.1 0 0 0-1.94-.3c-1.55 0-2.95.59-3.94 1.66a5.8 5.8 0 0 0-.8 7 5.3 5.3 0 0 0-1.79 2.82c-.24.9-.48 2.8.8 4.74a5.22 5.22 0 0 0-.37 5.02c1.02 2.32 3.57 4.14 8.52 6.1 3.07 1.22 5.89 2 5.91 2.01a44.33 44.33 0 0 0 10.93 1.6c5.86 0 10.05-1.8 12.46-5.34 3.88-5.69 3.33-10.9-1.7-15.92-2.77-2.78-4.62-6.87-5-7.77-.78-2.66-2.84-5.62-6.25-5.62a5.7 5.7 0 0 0-4.6 2.46c-1-1.26-1.98-2.25-2.86-2.82A7.4 7.4 0 0 0 17.52 48Zm0 4c.51 0 1.14.22 1.82.65 2.14 1.36 6.25 8.43 7.76 11.18.5.92 1.37 1.31 2.14 1.31 1.55 0 2.75-1.53.15-3.48-3.92-2.93-2.55-7.72-.68-8.01.08-.02.17-.02.24-.02 1.7 0 2.45 2.93 2.45 2.93s2.2 5.52 5.98 9.3c3.77 3.77 3.97 6.8 1.22 10.83-1.88 2.75-5.47 3.58-9.16 3.58-3.81 0-7.73-.9-9.92-1.46-.11-.03-13.45-3.8-11.76-7 .28-.54.75-.76 1.34-.76 2.38 0 6.7 3.54 8.57 3.54.41 0 .7-.17.83-.6.79-2.85-12.06-4.05-10.98-8.17.2-.73.71-1.02 1.44-1.02 3.14 0 10.2 5.53 11.68 5.53.11 0 .2-.03.24-.1.74-1.2.33-2.04-4.9-5.2-5.21-3.16-8.88-5.06-6.8-7.33.24-.26.58-.38 1-.38 3.17 0 10.66 6.82 10.66 6.82s2.02 2.1 3.25 2.1c.28 0 .52-.1.68-.38.86-1.46-8.06-8.22-8.56-11.01-.34-1.9.24-2.85 1.31-2.85Z"}),a.jsx("path",{fill:"#FFD21E",d:"M38.6 76.69c2.75-4.04 2.55-7.07-1.22-10.84-3.78-3.77-5.98-9.3-5.98-9.3s-.82-3.2-2.69-2.9c-1.87.3-3.24 5.08.68 8.01 3.91 2.93-.78 4.92-2.29 2.17-1.5-2.75-5.62-9.82-7.76-11.18-2.13-1.35-3.63-.6-3.13 2.2.5 2.79 9.43 9.55 8.56 11-.87 1.47-3.93-1.71-3.93-1.71s-9.57-8.71-11.66-6.44c-2.08 2.27 1.59 4.17 6.8 7.33 5.23 3.16 5.64 4 4.9 5.2-.75 1.2-12.28-8.53-13.36-4.4-1.08 4.11 11.77 5.3 10.98 8.15-.8 2.85-9.06-5.38-10.74-2.18-1.7 3.21 11.65 6.98 11.76 7.01 4.3 1.12 15.25 3.49 19.08-2.12Z"}),a.jsx("path",{fill:"#FF9D0B",d:"M77.4 48c1.62 0 3.07.66 4.07 1.87a5.97 5.97 0 0 1 1.33 3.76 7.1 7.1 0 0 1 1.95-.3c1.55 0 2.95.59 3.94 1.66a5.8 5.8 0 0 1 .8 7 5.3 5.3 0 0 1 1.78 2.82c.24.9.48 2.8-.8 4.74a5.22 5.22 0 0 1 .37 5.02c-1.02 2.32-3.57 4.14-8.51 6.1-3.08 1.22-5.9 2-5.92 2.01a44.33 44.33 0 0 1-10.93 1.6c-5.86 0-10.05-1.8-12.46-5.34-3.88-5.69-3.33-10.9 1.7-15.92 2.78-2.78 4.63-6.87 5.01-7.77.78-2.66 2.83-5.62 6.24-5.62a5.7 5.7 0 0 1 4.6 2.46c1-1.26 1.98-2.25 2.87-2.82A7.4 7.4 0 0 1 77.4 48Zm0 4c-.51 0-1.13.22-1.82.65-2.13 1.36-6.25 8.43-7.76 11.18a2.43 2.43 0 0 1-2.14 1.31c-1.54 0-2.75-1.53-.14-3.48 3.91-2.93 2.54-7.72.67-8.01a1.54 1.54 0 0 0-.24-.02c-1.7 0-2.45 2.93-2.45 2.93s-2.2 5.52-5.97 9.3c-3.78 3.77-3.98 6.8-1.22 10.83 1.87 2.75 5.47 3.58 9.15 3.58 3.82 0 7.73-.9 9.93-1.46.1-.03 13.45-3.8 11.76-7-.29-.54-.75-.76-1.34-.76-2.38 0-6.71 3.54-8.57 3.54-.42 0-.71-.17-.83-.6-.8-2.85 12.05-4.05 10.97-8.17-.19-.73-.7-1.02-1.44-1.02-3.14 0-10.2 5.53-11.68 5.53-.1 0-.19-.03-.23-.1-.74-1.2-.34-2.04 4.88-5.2 5.23-3.16 8.9-5.06 6.8-7.33-.23-.26-.57-.38-.98-.38-3.18 0-10.67 6.82-10.67 6.82s-2.02 2.1-3.24 2.1a.74.74 0 0 1-.68-.38c-.87-1.46 8.05-8.22 8.55-11.01.34-1.9-.24-2.85-1.31-2.85Z"}),a.jsx("path",{fill:"#FFD21E",d:"M56.33 76.69c-2.75-4.04-2.56-7.07 1.22-10.84 3.77-3.77 5.97-9.3 5.97-9.3s.82-3.2 2.7-2.9c1.86.3 3.23 5.08-.68 8.01-3.92 2.93.78 4.92 2.28 2.17 1.51-2.75 5.63-9.82 7.76-11.18 2.13-1.35 3.64-.6 3.13 2.2-.5 2.79-9.42 9.55-8.55 11 .86 1.47 3.92-1.71 3.92-1.71s9.58-8.71 11.66-6.44c2.08 2.27-1.58 4.17-6.8 7.33-5.23 3.16-5.63 4-4.9 5.2.75 1.2 12.28-8.53 13.36-4.4 1.08 4.11-11.76 5.3-10.97 8.15.8 2.85 9.05-5.38 10.74-2.18 1.69 3.21-11.65 6.98-11.76 7.01-4.31 1.12-15.26 3.49-19.08-2.12Z"})]});function w(s){const t=[...new Set(s.map(n=>n.replace(/ \(subtask\)$/,"")))],l=t.length>3?[...t.slice(0,2),`${t.length-2} more`]:t;return l.length>1?`${l.slice(0,-1).join(", ")} and ${l[l.length-1]}`:l[0]}const z="language-modeling";function N(s){return s?s.toLowerCase().replace(/\(.*?\)/g," ").replace(/[^a-z]+/g," ").replace(/\bllm\b/g," ").replace(/\s+/g," ").trim().replace(/s$/,""):""}function B(s){return N(s.slug)==="large language model"||N(s.name)==="large language model"}function D(s){return s.tags.includes(z)?s.methods.filter(t=>!B(t)):s.methods}const S=({name:s,slug:t,logoUrl:l})=>{const[n,r]=g.useState(!1);return!l||n?null:a.jsx(d,{to:`/orgs/${t}`,className:"paper-organization-logo","aria-label":`View ${s} organization`,title:s,children:a.jsx("img",{src:l,alt:"",onError:()=>r(!0)})})},O=({paper:s,priority:t=!1,showInstitution:l=!0,highlightQuery:n,followReasons:r,isNew:m=!1})=>{const x=M(),u=`/paper/${s.id}`,i=g.useCallback(()=>{x.prefetchQuery(L.detail(s.id))},[s.id,x]),v=s.authors.slice(0,3).map((e,o)=>{var p,F;const f=(p=s.authorIds)==null?void 0:p[o],b=(F=s.authorHfProfiles)==null?void 0:F[o];return a.jsxs(g.Fragment,{children:[o>0&&", ",b&&a.jsx(Z,{className:"paper-card-author-avatar",url:b.avatarUrl}),f?a.jsx(d,{to:`/authors/${f}`,children:e}):e]},o)}),c=s.authors.length,j=D(s);return a.jsxs("article",{className:"paper-card",children:[a.jsx(d,{to:u,className:"paper-thumb-wrap",onFocus:i,onMouseEnter:i,children:a.jsx(k,{paperId:s.id,title:s.title,thumbnailUrl:s.thumbnailUrl,priority:t})}),a.jsxs("div",{className:"paper-body",children:[a.jsxs("div",{className:"paper-body-main",children:[(m||r&&r.length>0)&&a.jsxs("div",{className:"paper-follow-reason",children:[m&&a.jsx("span",{className:"paper-new-chip",children:"New"}),r&&r.length>0&&a.jsxs(a.Fragment,{children:["Because you follow ",w(r)]})]}),a.jsxs("h3",{className:"paper-title",children:[a.jsx(d,{to:u,onFocus:i,onMouseEnter:i,children:a.jsx(E,{title:s.title,highlight:n})}),l&&s.organizations.length>0&&a.jsx("span",{className:"paper-organization-logos",children:s.organizations.map(e=>a.jsx(S,{...e},e.slug))})]}),a.jsxs("div",{className:"paper-authors",children:[v,c>3&&a.jsxs("span",{children:[", ","+",c-3," authors"]}),s.date&&a.jsxs(a.Fragment,{children:[c>0?" · ":"",a.jsx("span",{children:s.date})]}),s.citations>0&&a.jsxs(a.Fragment,{children:[c>0||s.date?" · ":"",a.jsxs("span",{children:[s.citations.toLocaleString()," citations"]})]})]}),s.abstract&&a.jsx("p",{className:"paper-abstract",children:a.jsx(U,{text:s.abstract,highlight:n})}),s.sotaRanks.length>0&&a.jsx(A,{ranks:s.sotaRanks,paperHref:u}),(s.tags.length>0||j.length>0)&&a.jsxs("div",{className:"paper-tags paper-tags--clamped",children:[s.tags.map(e=>a.jsx(P,{slug:e},e)),j.map(e=>a.jsx(y,{method:e},e.id||e.slug||e.name))]})]}),(s.githubUrl||s.hfUrl)&&a.jsxs("div",{className:"paper-resources",children:[h(s.githubUrl)&&a.jsxs("a",{className:"paper-resource is-link",href:h(s.githubUrl)??void 0,target:"_blank",rel:"noopener noreferrer","aria-label":"Open GitHub repository",onClick:e=>e.stopPropagation(),children:[a.jsx(C,{name:"github",size:20}),s.velocity24h!=null&&s.velocity24h>0&&a.jsxs("span",{className:"resource-stat",children:[a.jsxs("span",{className:"resource-value",children:[a.jsx("span",{className:"gh-rate-arrow",children:"↑"}),s.velocity24h.toFixed(1)]}),a.jsx("span",{className:"resource-label",children:"stars / hr"})]})]}),h(s.hfUrl)&&s.hfKind&&a.jsxs("a",{className:"paper-resource is-link",href:h(s.hfUrl)??void 0,target:"_blank",rel:"noopener noreferrer","aria-label":`Open Hugging Face ${s.hfKind}`,onClick:e=>e.stopPropagation(),children:[a.jsx($,{size:20}),a.jsxs("span",{className:"resource-stat",children:[a.jsx("span",{className:"resource-value",children:s.hfCount}),a.jsx("span",{className:"resource-label",children:s.hfKind})]})]})]})]})]})};export{O as P};
assets/{PaperDetailView-D4VY4iU8.js → PaperDetailView-CoP4_lkz.js} RENAMED
@@ -1,4 +1,4 @@
1
- import{d as $e,b as B,F as sa,G as ne,I as aa,n as ts,J as K,i as x,K as ra,M as me,B as z,N as ht,j as e,C as pt,o as Q,v as V,O as Ce,P as Re,X as ss,Q as na,R as as,S as Y,U as rs,V as ge,W as pe,Y as ns,Z as ft,_ as Se,$ as Ee,a0 as ot,a1 as ia,a2 as is,L as O,a3 as oa,a4 as la,a5 as ca,a6 as da,a7 as os,a8 as ua,l as ma,a9 as ha,A as fe,x as pa,a as Le,aa as ls,ab as Pe,ac as At,k as cs,ad as fa,ae as ga,u as xa,af as Tt,ag as ba,ah as Dt,ai as ja,E as Ft,aj as va,ak as _a,al as ya,am as ka,an as Ut,ao as Na,ap as wa}from"./index-DL_JM2Ot.js";import{u as J}from"./useMutation-BhCRLa1t.js";import{I as D}from"./Icon-N8z7DeBC.js";import{T as Ca,M as Sa,S as Ea,P as Pa}from"./SotaBadges-GpZeMWYD.js";import{L as Ne,a as lt}from"./LatexTitle-CgJviprz.js";import{u as ds}from"./preferences-DZkWR9pP.js";import{s as $a,a as Ra}from"./transform-WCen521A.js";import{r as us,p as La}from"./paperReader-D1y30HyW.js";import{u as Ia,f as Aa}from"./useDocumentTitle-CK4VxG11.js";import{s as W}from"./safeExternalHref-CkBrsh84.js";import{m as Ta}from"./mlIntern-DidbK0Ey.js";import{S as he}from"./skeleton-CKwY1CoC.js";import{A as Da,a as Fa}from"./alert-BAtahhuM.js";import{B as A}from"./button-TvGRvG4J.js";import{D as Ie,a as Ae,c as Te,b as De,d as Fe,e as gt}from"./dialog-DR9by6nD.js";import{A as Ua,a as za}from"./AgentLogos-e4Q9yKFL.js";import{C as Ma}from"./copy-DlnZdlrV.js";import{i as ms,a as hs,r as Ba,b as Ha,e as Oa,p as qa}from"./cacheSync-BJW-wKQF.js";import{I as U}from"./input-CJSZmrSu.js";import{S as zt}from"./searchable-select-CmqairTa.js";import{L as xt}from"./loader-circle-BW9ed20f.js";import{T as Ue}from"./trash-2-D_ry9pGs.js";import{S as ps,L as q,a as Ga}from"./SignInToEditDialog-CpHMTStF.js";import{u as _e}from"./useQueries-Cwsmx9Ux.js";import{s as fs,p as gs}from"./submissions-Cm7h93Uo.js";import{D as Xa}from"./database-0Wk20GLl.js";import{P as xe}from"./plus-Bou0iMb2.js";import{S as ct}from"./search-BCfgkzCD.js";import{B as Ka}from"./badge-CmRkIQyK.js";import{n as Qa,C as Va}from"./CatalogEntityPreviewLink-C7EwyTwf.js";import{G as Wa}from"./globe-DfflNEeG.js";import{G as Ja}from"./github-4Cp2qYOr.js";import{u as xs}from"./index-Dr5kpJ2J.js";import{C as Ya,E as Za}from"./ExternalSourceEvalBadge-B05mXvbN.js";import{M as er}from"./index-Duxgh9kf.js";import{r as tr}from"./index-BPdKbxHa.js";import{u as sr}from"./useIntersectionObserver-CK36kpUi.js";import{S as Mt,s as ar}from"./savedPapersAuth-CCZCQuio.js";import{o as rr}from"./organizationNames-BVKzYEBp.js";import{A as nr}from"./AuthorAvatar-CrqIFv87.js";import"./colors-BkWRhvFI.js";import"./popover-DRgAhCdU.js";import"./textarea-CIb9tSG4.js";import"./hover-card-9NlCSWPH.js";/**
2
  * @license lucide-react v0.462.0 - ISC
3
  *
4
  * This source code is licensed under the ISC license.
 
1
+ import{d as $e,b as B,F as sa,G as ne,I as aa,n as ts,J as K,i as x,K as ra,M as me,B as z,N as ht,j as e,C as pt,o as Q,v as V,O as Ce,P as Re,X as ss,Q as na,R as as,S as Y,U as rs,V as ge,W as pe,Y as ns,Z as ft,_ as Se,$ as Ee,a0 as ot,a1 as ia,a2 as is,L as O,a3 as oa,a4 as la,a5 as ca,a6 as da,a7 as os,a8 as ua,l as ma,a9 as ha,A as fe,x as pa,a as Le,aa as ls,ab as Pe,ac as At,k as cs,ad as fa,ae as ga,u as xa,af as Tt,ag as ba,ah as Dt,ai as ja,E as Ft,aj as va,ak as _a,al as ya,am as ka,an as Ut,ao as Na,ap as wa}from"./index-CrYWgAoM.js";import{u as J}from"./useMutation-CghM0QJV.js";import{I as D}from"./Icon-BrPPGkYF.js";import{T as Ca,M as Sa,S as Ea,P as Pa}from"./SotaBadges-MTukWJ8b.js";import{L as Ne,a as lt}from"./LatexTitle-TFtKXSOA.js";import{u as ds}from"./preferences-BvpZd0R3.js";import{s as $a,a as Ra}from"./transform-CRzM_tWE.js";import{r as us,p as La}from"./paperReader-D1y30HyW.js";import{u as Ia,f as Aa}from"./useDocumentTitle-BLJX3S0V.js";import{s as W}from"./safeExternalHref-CkBrsh84.js";import{m as Ta}from"./mlIntern-DtdFmmDf.js";import{S as he}from"./skeleton-CR7iZvat.js";import{A as Da,a as Fa}from"./alert-BWfaZ9GT.js";import{B as A}from"./button-DWQq9odL.js";import{D as Ie,a as Ae,c as Te,b as De,d as Fe,e as gt}from"./dialog-DmgW-U8s.js";import{A as Ua,a as za}from"./AgentLogos-B7GloLDi.js";import{C as Ma}from"./copy-Nx3dOYtx.js";import{i as ms,a as hs,r as Ba,b as Ha,e as Oa,p as qa}from"./cacheSync-DddHSdoZ.js";import{I as U}from"./input-BUWCvGLt.js";import{S as zt}from"./searchable-select-DpWXL1DE.js";import{L as xt}from"./loader-circle-CK0KphTG.js";import{T as Ue}from"./trash-2-Di3uPTPp.js";import{S as ps,L as q,a as Ga}from"./SignInToEditDialog-Bv3LeRt3.js";import{u as _e}from"./useQueries-tZOzAuCF.js";import{s as fs,p as gs}from"./submissions-DGJA6GHh.js";import{D as Xa}from"./database-ETB2BmRO.js";import{P as xe}from"./plus-BFsfRK33.js";import{S as ct}from"./search-DYkHdF95.js";import{B as Ka}from"./badge-D7e99giJ.js";import{n as Qa,C as Va}from"./CatalogEntityPreviewLink-DwN4bhsl.js";import{G as Wa}from"./globe-BU0jIVuu.js";import{G as Ja}from"./github-BnonuqZU.js";import{u as xs}from"./index-BrV3rrlz.js";import{C as Ya,E as Za}from"./ExternalSourceEvalBadge-BfVErjNU.js";import{M as er}from"./index-QDUqgJJX.js";import{r as tr}from"./index-CDEsSSod.js";import{u as sr}from"./useIntersectionObserver-CWHTKkKe.js";import{S as Mt,s as ar}from"./savedPapersAuth-DXDrlsqf.js";import{o as rr}from"./organizationNames-BVKzYEBp.js";import{A as nr}from"./AuthorAvatar-Cn_8_omA.js";import"./colors-BkWRhvFI.js";import"./popover-DfUABjJn.js";import"./textarea-DVnF1aYO.js";import"./hover-card-Cwr5IQpG.js";/**
2
  * @license lucide-react v0.462.0 - ISC
3
  *
4
  * This source code is licensed under the ISC license.
assets/{PaperPreviewLink-hxmZ3UPf.js → PaperPreviewLink-Dvvn-oU_.js} RENAMED
@@ -1,4 +1,4 @@
1
- import{o as b,f as k,m as y}from"./index-Duxgh9kf.js";import{l as U}from"./index-BPdKbxHa.js";import{j as o,ab as T,ao as D,B as S,I as j,M as I,e as O,o as A,L as M,b as Q,m as B}from"./index-DL_JM2Ot.js";import{H,a as V,b as K}from"./hover-card-9NlCSWPH.js";import{u as X}from"./useMutation-BhCRLa1t.js";function Z(){return{enter:{mathFlow:e,mathFlowFenceMeta:r,mathText:h},exit:{mathFlow:n,mathFlowFence:t,mathFlowFenceMeta:s,mathFlowValue:c,mathText:m,mathTextData:c}};function e(a){const l={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[l]}},a)}function r(){this.buffer()}function s(){const a=this.resume(),l=this.stack[this.stack.length-1];b(l.type==="math"),l.meta=a}function t(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function n(a){const l=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),p=this.stack[this.stack.length-1];b(p.type==="math"),this.exit(a),p.value=l;const d=p.data.hChildren[0];b(d.type==="element"),b(d.tagName==="code"),d.children.push({type:"text",value:l}),this.data.mathFlowInside=void 0}function h(a){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},a),this.buffer()}function m(a){const l=this.resume(),p=this.stack[this.stack.length-1];b(p.type==="inlineMath"),this.exit(a),p.value=l,p.data.hChildren.push({type:"text",value:l})}function c(a){this.config.enter.data.call(this,a),this.config.exit.data.call(this,a)}}function G(e){let r=(e||{}).singleDollarTextMath;return r==null&&(r=!0),t.peek=n,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
2
  `,inConstruct:"mathFlowMeta"},{character:"$",after:r?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:s,inlineMath:t}};function s(h,m,c,a){const l=h.value||"",p=c.createTracker(a),d="$".repeat(Math.max(U(l,"$")+1,2)),w=c.enter("mathFlow");let x=p.move(d);if(h.meta){const v=c.enter("mathFlowMeta");x+=p.move(c.safe(h.meta,{after:`
3
  `,before:x,encode:["$"],...p.current()})),v()}return x+=p.move(`
4
  `),l&&(x+=p.move(l+`
 
1
+ import{o as b,f as k,m as y}from"./index-QDUqgJJX.js";import{l as U}from"./index-CDEsSSod.js";import{j as o,ab as T,ao as D,B as S,I as j,M as I,e as O,o as A,L as M,b as Q,m as B}from"./index-CrYWgAoM.js";import{H,a as V,b as K}from"./hover-card-Cwr5IQpG.js";import{u as X}from"./useMutation-CghM0QJV.js";function Z(){return{enter:{mathFlow:e,mathFlowFenceMeta:r,mathText:h},exit:{mathFlow:n,mathFlowFence:t,mathFlowFenceMeta:s,mathFlowValue:c,mathText:m,mathTextData:c}};function e(a){const l={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[l]}},a)}function r(){this.buffer()}function s(){const a=this.resume(),l=this.stack[this.stack.length-1];b(l.type==="math"),l.meta=a}function t(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function n(a){const l=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),p=this.stack[this.stack.length-1];b(p.type==="math"),this.exit(a),p.value=l;const d=p.data.hChildren[0];b(d.type==="element"),b(d.tagName==="code"),d.children.push({type:"text",value:l}),this.data.mathFlowInside=void 0}function h(a){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},a),this.buffer()}function m(a){const l=this.resume(),p=this.stack[this.stack.length-1];b(p.type==="inlineMath"),this.exit(a),p.value=l,p.data.hChildren.push({type:"text",value:l})}function c(a){this.config.enter.data.call(this,a),this.config.exit.data.call(this,a)}}function G(e){let r=(e||{}).singleDollarTextMath;return r==null&&(r=!0),t.peek=n,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
2
  `,inConstruct:"mathFlowMeta"},{character:"$",after:r?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:s,inlineMath:t}};function s(h,m,c,a){const l=h.value||"",p=c.createTracker(a),d="$".repeat(Math.max(U(l,"$")+1,2)),w=c.enter("mathFlow");let x=p.move(d);if(h.meta){const v=c.enter("mathFlowMeta");x+=p.move(c.safe(h.meta,{after:`
3
  `,before:x,encode:["$"],...p.current()})),v()}return x+=p.move(`
4
  `),l&&(x+=p.move(l+`
assets/{PaperReaderView-B4rJYvNC.js → PaperReaderView-B2w337O4.js} RENAMED
@@ -1 +1 @@
1
- import{i as s,b as E,M as F,j as a,A as te,u as Fe,I as Ke,n as Ue,ao as _e,ai as De,L as J}from"./index-DL_JM2Ot.js";import{u as qe,R as Ve,A as Qe,c as Xe,d as Ye,a as Ze,P as Ge,e as Je}from"./chatLifecycle-BTYJyrKZ.js";import{M as et}from"./MarkdownText-B-aaimeS.js";import{f as tt,w as at,s as rt,e as st,a as nt,b as ee,c as Se,d as Ce}from"./paperReader-D1y30HyW.js";import{c as it}from"./chat-BY6jjJTm.js";import{s as ae}from"./safeExternalHref-CkBrsh84.js";import{ChatExperience as ot}from"./ChatView-CMpbQGIz.js";import"./index-C_jL3wwd.js";/* empty css */import"./hover-card-9NlCSWPH.js";import"./CatalogEntityPreviewLink-C7EwyTwf.js";import"./github-4Cp2qYOr.js";import"./file-text-Cw24822N.js";import"./PaperPreviewLink-hxmZ3UPf.js";import"./index-Duxgh9kf.js";import"./index-BPdKbxHa.js";import"./useMutation-BhCRLa1t.js";import"./index-CT4oVNDi.js";import"./katex-DkKDou_j.js";import"./thumbs-up-DfqmZFje.js";import"./copy-DlnZdlrV.js";import"./arrow-left-C4iqM9DK.js";import"./external-link-BQKIF2kZ.js";import"./plus-Bou0iMb2.js";import"./search-BCfgkzCD.js";import"./chevron-up-oWUehGsz.js";import"./AuthorAvatar-CrqIFv87.js";import"./trash-2-D_ry9pGs.js";import"./McpShowcase-CWi38Cpu.js";import"./AgentLogos-e4Q9yKFL.js";import"./share-2-DsuTyobU.js";import"./Icon-N8z7DeBC.js";import"./mlIntern-DidbK0Ey.js";import"./openrouter-Cr6qzWUe.js";function ct(r){return r instanceof te&&r.status===422?"This page could not be turned into a readable paper.":r instanceof te&&r.status===503?"Paper content is still being prepared. Please try again later.":"The paper could not be loaded."}function lt({paperId:r,paperKey:i,paperTitle:c,paperHref:g,sourceUrl:e,resources:o,paperVersion:h="",selectionEnabled:b=!1,onReady:w,onPaperSelection:$,onPaperSelectionError:K}){var I;const l=s.useRef(null),C=tt(e),v=E({...F.webPage(r),enabled:!C,retry:!1}),T=!C&&v.isPending,x=C||((I=v.data)==null?void 0:I.frameable)===!0,[k,d]=s.useState("original"),y=x&&k==="original",u=E({...F.webMarkdown(r),retry:(U,M)=>U<2&&!(M instanceof te&&M.status<500),retryDelay:3e3}),P=u.isSuccess;s.useEffect(()=>{P&&(w==null||w())},[w,P]),qe({enabled:b&&!!h&&P&&!y,pagesRoot:l,routeId:i,paperVersion:h,numPages:1,onSelect:$,onError:K});const j=u.data?at(u.data):"",S=!!(o!=null&&o.projectPage&&rt(o.projectPage.href,e));return a.jsxs("div",{className:"pdf-viewer",children:[a.jsx(Ve,{paperTitle:c,paperHref:g,resources:o,label:"Paper controls",children:a.jsxs("div",{className:"pdf-toolbar-controls",children:[x&&a.jsxs("div",{className:"reader-web-view-toggle",role:"group","aria-label":"Paper view",children:[a.jsx("button",{type:"button","aria-pressed":y,onClick:()=>d("original"),children:"Original"}),a.jsx("button",{type:"button","aria-pressed":!y,title:"Readable text; select a passage to ask the chat about it",onClick:()=>d("text"),children:"Text"})]}),!S&&a.jsx("a",{href:e,target:"_blank",rel:"noopener noreferrer",children:"Open original"})]})}),a.jsx("div",{className:"pdf-scroll-frame",children:T?a.jsx("div",{className:"pdf-loading",role:"status",children:"Loading the paper…"}):y?a.jsx("iframe",{className:"reader-web-frame",src:e,title:`Original page: ${c}`,sandbox:"allow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox",referrerPolicy:"strict-origin-when-cross-origin"}):a.jsx("div",{className:"pdf-scroll",role:"region","aria-label":"Paper web page",children:u.isPending?a.jsx("div",{className:"pdf-loading",role:"status",children:"Preparing a readable version of this page…"}):u.isError?a.jsxs("div",{className:"pdf-error",role:"alert",children:[a.jsx("p",{children:ct(u.error)}),a.jsxs("div",{children:[a.jsx("button",{type:"button",onClick:()=>void u.refetch(),children:"Retry"})," ",a.jsx("a",{href:e,target:"_blank",rel:"noopener noreferrer",children:"Open original"})]})]}):a.jsxs("article",{ref:l,className:"reader-web-document","data-page":"1",children:[!j.startsWith("# ")&&a.jsx("h1",{children:c}),a.jsx(et,{text:j})]})})})]})}const ke=66,dt=240,re="pwc:reader:split-ratio";function ut(r){const i=Number(sessionStorage.getItem(Ce(r)));return Number.isInteger(i)&&i>0?i:1}function ft(){const r=Number(localStorage.getItem(re));return Number.isFinite(r)&&r>=45&&r<=75?r:ke}function pt(r){const i=ae(r);if(!i)return null;const c=new URL(i);return(c.hostname==="arxiv.org"||c.hostname==="www.arxiv.org")&&c.pathname.startsWith("/pdf/")&&c.pathname.endsWith(".pdf")&&(c.pathname=c.pathname.slice(0,-4)),c.href}const mt=/^\/pdf\/(\d{4}\.\d{4,5}(?:v\d{1,3})?|[a-z]+(?:-[a-z]+)*(?:\.[A-Z]{2})?\/\d{7}(?:v\d{1,3})?)$/;function ht(r){const i=new URL(r),c=i.pathname.match(mt);return(i.hostname==="arxiv.org"||i.hostname==="www.arxiv.org")&&c&&!i.search?_e(`/paper-assets/arxiv-pdf/${c[1]}`)??r:r}function gt(r){return new URL(r).hostname.replace(/^www\./,"")}function bt(r){if(!r)return{};const i={};for(const e of r.repositories??[]){if(!e.is_official)continue;const o=ae(e.url);if(!o)continue;const h=new URL(o),b=h.pathname.split("/").filter(Boolean);if((h.hostname==="github.com"||h.hostname==="www.github.com")&&b.length>=2){i.repository={href:o,stars:e.num_stars||0};break}}const c=[...r.project_pages??[]].sort((e,o)=>Number(o.is_official)-Number(e.is_official));for(const e of c){const o=ae(e.url);if(o){i.projectPage={href:o,label:gt(o)};break}}const g=r.hf_artifact_summary?r.hf_artifact_summary.model_count+r.hf_artifact_summary.dataset_count+r.hf_artifact_summary.space_count:new Set([...r.hf_models??[],...r.hf_datasets??[],...r.hf_spaces??[]]).size;return g>0&&r.arxiv_id&&(i.huggingFace={href:`https://huggingface.co/papers/${r.arxiv_id.replace(/v\d+$/i,"")}`,count:g}),i}function vt({routeId:r}){var Pe,we,Re,ye,je;const i=Ue(),c=E(F.detail(r)),g=E({queryKey:["chatAvailability"],queryFn:()=>it.getAvailability(),refetchInterval:3e4,retry:!1}),e=c.data,o=e?st(e):null,h=o?null:(e==null?void 0:e.source)==="external"?_e(`/paper-assets/external/${e.id}/paper.pdf`):pt(e==null?void 0:e.url_pdf),b=h&&(e==null?void 0:e.source)!=="external"?ht(h):h,w=!o&&(e==null?void 0:e.source)==="external"?nt(e):null,$=bt(e),K=s.useMemo(()=>{var t;return(t=e==null?void 0:e.author_links)==null?void 0:t.flatMap(n=>n.id?[{id:n.id,name:n.name,avatarUrl:n.hf_avatar_url}]:[])},[e==null?void 0:e.author_links]),l=((Pe=e==null?void 0:e.arxiv_id)==null?void 0:Pe.replace(/v\d+$/i,""))||r,C=s.useCallback(()=>i(`/paper/${l}`),[l,i]),[v,T]=s.useState(()=>sessionStorage.getItem(ee(r))||void 0),[x,k]=s.useState(ft),[d,y]=s.useState(()=>sessionStorage.getItem(Se(r))==="1"),[u,P]=s.useState("paper"),[j,S]=s.useState(),[I,U]=s.useState(),[M,Ne]=s.useState(!1),Ae=s.useCallback(()=>Ne(!0),[]),[Ee,_]=s.useState(""),[se]=s.useState(()=>ut(r)),[N,$e]=s.useState(0),[ne,ie]=s.useState(!1),[Te,oe]=s.useState(!1),z=s.useRef(null),D=s.useRef(null),W=s.useRef(null),ce=s.useRef(null),le=s.useRef(null),q=s.useRef(!1),L=s.useRef(!1),V=s.useRef(0),R=s.useRef(0),Q=s.useRef(0),A=s.useRef(x),de=s.useRef(se),X=s.useRef(e==null?void 0:e.version),ue=Xe().reset,fe=s.useRef(v),p=N>=840;s.useEffect(()=>{fe.current!==v&&(fe.current=v,ue())},[v,ue]),s.useEffect(()=>{e!=null&&e.version&&X.current&&e.version!==X.current&&(S(void 0),_("")),X.current=e==null?void 0:e.version},[e==null?void 0:e.version]),s.useEffect(()=>()=>{window.clearTimeout(V.current),cancelAnimationFrame(R.current)},[]),s.useLayoutEffect(()=>{const t=z.current;if(!t)return;const n=()=>$e(t.clientWidth);n();const f=new ResizeObserver(n);return f.observe(t),()=>f.disconnect()},[e]),s.useEffect(()=>{if(!e)return;document.title=`${e.title} — Papers With Code reader`;let t=document.querySelector('meta[name="robots"]');const n=!t;t||(t=document.createElement("meta"),t.name="robots",document.head.appendChild(t));const f=t.content;t.content="noindex, nofollow";let m=document.querySelector('link[rel="canonical"]');const He=!m;m||(m=document.createElement("link"),m.rel="canonical",document.head.appendChild(m));const Oe=m.href;return m.href=`${window.location.origin}/paper/${l}`,()=>{document.title="Papers With Code",n?t==null||t.remove():t&&(t.content=f),He?m==null||m.remove():m&&(m.href=Oe)}},[l,e]);const B=s.useCallback(t=>{if(!N)return Math.max(45,Math.min(75,t));const n=480/N*100,f=100-360/N*100;return Math.max(n,Math.min(f,t))},[N]);s.useEffect(()=>k(t=>{const n=B(t);return A.current=n,n}),[B]);const H=t=>{const n=B(t);A.current=n,k(n),localStorage.setItem(re,String(n))},pe=t=>{var f;const n=B(t);A.current=n,D.current&&(D.current.style.width=`${n}%`),W.current&&(W.current.style.width=`${100-n}%`),(f=ce.current)==null||f.setAttribute("aria-valuenow",String(Math.round(n)))},me=t=>{Q.current=t,!R.current&&(R.current=requestAnimationFrame(()=>{var f;R.current=0;const n=(f=z.current)==null?void 0:f.getBoundingClientRect();n!=null&&n.width&&pe((Q.current-n.left)/n.width*100)}))},Ie=t=>{L.current=!0,ie(!0),t.currentTarget.setPointerCapture(t.pointerId),me(t.clientX)},Y=()=>{var t;if(L.current){if(R.current){cancelAnimationFrame(R.current),R.current=0;const n=(t=z.current)==null?void 0:t.getBoundingClientRect();n!=null&&n.width&&pe((Q.current-n.left)/n.width*100)}L.current=!1,k(A.current),localStorage.setItem(re,String(A.current)),ie(!1)}},he=t=>{window.clearTimeout(V.current),oe(!0),y(t),sessionStorage.setItem(Se(r),t?"1":"0"),V.current=window.setTimeout(()=>oe(!1),dt+40)},ge=t=>{q.current=!0,he(t)};s.useEffect(()=>{var t;q.current&&(q.current=!1,(t=d?le.current:W.current)==null||t.focus())},[d]);const Me=t=>{T(t),sessionStorage.setItem(ee(r),t)},ze=()=>{T(void 0),sessionStorage.removeItem(ee(r)),S(void 0),_("")},be=((we=g.data)==null?void 0:we.paper_reader_selection_enabled)===!0,ve=t=>{S(t),_(`Selection from page ${t.page} added to chat`),p&&d&&he(!1)},We=s.useCallback(t=>{S(t),t||_("")},[]),Z=((Re=g.data)==null?void 0:Re.paper_reader_citations_enabled)===!0&&!!b,O=E({...F.layout(l),enabled:Z&&!!l}).data,Le=s.useMemo(()=>Z?{layout:O,open:t=>{const n=O?Ye(O,t):[];n.length&&(U(f=>({boxes:n,nonce:((f==null?void 0:f.nonce)??0)+1})),P("paper"))}}:null,[Z,O]),xe=De()&&((ye=g.data)==null?void 0:ye.paper_reader_chat_enabled)!==!1,G=!!(e&&xe&&!(o&&!M)),Be=e&&xe&&!G?a.jsx("div",{className:"reader-chat-unavailable",role:"status",children:"Chat opens once the paper is ready."}):e&&G?a.jsx(ot,{mode:"paper",routeSessionId:v,primaryPaper:{id:e.id,routeId:l,title:e.title,arxivId:e.arxiv_id},currentPage:()=>de.current,paperSelection:j,onPaperSelectionChange:We,onSessionId:Me,onReaderSubmit:()=>P("assistant"),onReaderNewChat:ze,onReaderClose:p?()=>ge(!0):void 0}):a.jsx("div",{className:"reader-chat-unavailable",children:"Chat is not enabled for this preview."});return c.isLoading?a.jsx("div",{className:"reader-status",role:"status",children:"Loading paper…"}):c.error||!e?a.jsxs("div",{className:"reader-status",role:"alert",children:[a.jsx("p",{children:"Paper not found."}),a.jsx(J,{to:"/papers",children:"Browse papers"})]}):((je=g.data)==null?void 0:je.native_pdf_reader_enabled)===!1?a.jsxs("div",{className:"reader-status",role:"alert",children:[a.jsx("p",{children:"The native reader is currently unavailable."}),a.jsx(J,{to:`/paper/${l}`,children:"Back to paper"})]}):!b&&!o?a.jsxs("div",{className:"reader-status",role:"alert",children:[a.jsx("p",{children:"Native reading is unavailable for this resource."}),a.jsx(J,{to:`/paper/${l}`,children:"Back to paper"})]}):a.jsxs("div",{className:"paper-reader-shell",children:[!p&&a.jsxs("div",{className:"reader-tabs",role:"tablist","aria-label":"Reader panels",children:[a.jsx("button",{type:"button",role:"tab","aria-selected":u==="paper",onClick:()=>P("paper"),children:"Paper"}),a.jsxs("button",{type:"button",role:"tab","aria-selected":u==="assistant","aria-label":j&&u!=="assistant"?"Chat, selection attached":"Chat",onClick:()=>P("assistant"),children:["Chat",j&&u!=="assistant"&&a.jsx("span",{className:"reader-tab-pending","aria-hidden":"true"})]})]}),a.jsx(Ze,{variant:"reader",children:a.jsxs("div",{ref:z,className:`reader-workspace${p?" is-desktop":" is-tabs"}${d?" is-assistant-collapsed":""}${ne?" is-resizing":""}`,"data-testid":"paper-chat-workspace",children:[a.jsx("section",{ref:D,className:`reader-paper-pane${!p&&u!=="paper"?" is-hidden":""}`,style:p?{width:d?"100%":`${x}%`}:void 0,role:"tabpanel","aria-label":"Paper","aria-hidden":!p&&u!=="paper",children:o?a.jsx(lt,{paperId:e.id,paperKey:l,paperTitle:e.title,paperHref:`/paper/${l}`,sourceUrl:o,resources:$,paperVersion:e.version,selectionEnabled:be,onReady:Ae,onPaperSelection:ve,onPaperSelectionError:_}):b&&a.jsx(Ge,{url:b,fallbackUrl:w??void 0,downloadUrl:w??h??b,paperKey:l,paperTitle:e.title,paperHref:`/paper/${l}`,onClose:C,resources:$,initialPage:se,resizeActive:ne||Te,selectionEnabled:be,paperVersion:e.version,authors:K,loadErrorMessage:e.source==="external"?"Paper content is still being prepared. Please try again later.":void 0,onPaperSelection:ve,onPaperSelectionError:_,highlight:I,onPageChange:t=>{de.current=t,sessionStorage.setItem(Ce(r),String(t))}})}),p&&!d&&a.jsx("div",{ref:ce,className:"reader-resize-handle",role:"separator","aria-label":"Resize paper and Chat panels","aria-orientation":"vertical","aria-valuemin":45,"aria-valuemax":75,"aria-valuenow":Math.round(x),tabIndex:0,onPointerDown:Ie,onPointerMove:t=>{L.current&&me(t.clientX)},onPointerUp:Y,onPointerCancel:Y,onLostPointerCapture:Y,onDoubleClick:()=>H(ke),onKeyDown:t=>{(t.key==="ArrowLeft"||t.key==="ArrowRight")&&(t.preventDefault(),H(x+(t.key==="ArrowRight"?2:-2))),t.key==="Home"&&H(45),t.key==="End"&&H(75)}}),a.jsx("aside",{ref:W,id:"reader-chat-panel",className:`reader-assistant-pane${!p&&u!=="assistant"?" is-hidden":""}${p&&d?" is-collapsed":""}`,style:p?{width:d?0:`${100-x}%`}:void 0,role:"tabpanel","aria-label":"Chat","aria-hidden":!p&&u!=="assistant"||d,tabIndex:-1,children:a.jsx(Je.Provider,{value:Le,children:Be})}),a.jsx("div",{className:"sr-only","aria-live":"polite",children:Ee}),p&&(d||!G)&&a.jsx("button",{ref:le,type:"button",className:"reader-collapse-assistant","aria-controls":"reader-chat-panel","aria-expanded":!d,onClick:()=>ge(!d),children:d?"Open chat":"Hide chat"})]})})]})}function ta(){const{paperId:r=""}=Fe(),i=Ke(r).replace(/v\d+$/i,"");return a.jsx(Qe,{workspaceKey:`reader:${r}`,children:a.jsx(vt,{routeId:i},i)})}export{ta as default,bt as readerToolbarResources};
 
1
+ import{i as s,b as E,M as F,j as a,A as te,u as Fe,I as Ke,n as Ue,ao as _e,ai as De,L as J}from"./index-CrYWgAoM.js";import{u as qe,R as Ve,A as Qe,c as Xe,d as Ye,a as Ze,P as Ge,e as Je}from"./chatLifecycle-B8riqCVx.js";import{M as et}from"./MarkdownText-BFhqzZUc.js";import{f as tt,w as at,s as rt,e as st,a as nt,b as ee,c as Se,d as Ce}from"./paperReader-D1y30HyW.js";import{c as it}from"./chat-iF1C9QkJ.js";import{s as ae}from"./safeExternalHref-CkBrsh84.js";import{ChatExperience as ot}from"./ChatView-8yB6zv-u.js";import"./index-DViK7D7O.js";/* empty css */import"./hover-card-Cwr5IQpG.js";import"./CatalogEntityPreviewLink-DwN4bhsl.js";import"./github-BnonuqZU.js";import"./file-text-C0LuaY-J.js";import"./PaperPreviewLink-Dvvn-oU_.js";import"./index-QDUqgJJX.js";import"./index-CDEsSSod.js";import"./useMutation-CghM0QJV.js";import"./index-B3LpHPyz.js";import"./katex-DkKDou_j.js";import"./thumbs-up-CET5IGrw.js";import"./copy-Nx3dOYtx.js";import"./arrow-left-DAqylKH-.js";import"./external-link-Ou0N7lM_.js";import"./plus-BFsfRK33.js";import"./search-DYkHdF95.js";import"./chevron-up-CfubiFzM.js";import"./AuthorAvatar-Cn_8_omA.js";import"./trash-2-Di3uPTPp.js";import"./McpShowcase-DuGSlHLG.js";import"./AgentLogos-B7GloLDi.js";import"./share-2-DLsCD6-o.js";import"./Icon-BrPPGkYF.js";import"./mlIntern-DtdFmmDf.js";import"./openrouter-BtubNRjU.js";function ct(r){return r instanceof te&&r.status===422?"This page could not be turned into a readable paper.":r instanceof te&&r.status===503?"Paper content is still being prepared. Please try again later.":"The paper could not be loaded."}function lt({paperId:r,paperKey:i,paperTitle:c,paperHref:g,sourceUrl:e,resources:o,paperVersion:h="",selectionEnabled:b=!1,onReady:w,onPaperSelection:$,onPaperSelectionError:K}){var I;const l=s.useRef(null),C=tt(e),v=E({...F.webPage(r),enabled:!C,retry:!1}),T=!C&&v.isPending,x=C||((I=v.data)==null?void 0:I.frameable)===!0,[k,d]=s.useState("original"),y=x&&k==="original",u=E({...F.webMarkdown(r),retry:(U,M)=>U<2&&!(M instanceof te&&M.status<500),retryDelay:3e3}),P=u.isSuccess;s.useEffect(()=>{P&&(w==null||w())},[w,P]),qe({enabled:b&&!!h&&P&&!y,pagesRoot:l,routeId:i,paperVersion:h,numPages:1,onSelect:$,onError:K});const j=u.data?at(u.data):"",S=!!(o!=null&&o.projectPage&&rt(o.projectPage.href,e));return a.jsxs("div",{className:"pdf-viewer",children:[a.jsx(Ve,{paperTitle:c,paperHref:g,resources:o,label:"Paper controls",children:a.jsxs("div",{className:"pdf-toolbar-controls",children:[x&&a.jsxs("div",{className:"reader-web-view-toggle",role:"group","aria-label":"Paper view",children:[a.jsx("button",{type:"button","aria-pressed":y,onClick:()=>d("original"),children:"Original"}),a.jsx("button",{type:"button","aria-pressed":!y,title:"Readable text; select a passage to ask the chat about it",onClick:()=>d("text"),children:"Text"})]}),!S&&a.jsx("a",{href:e,target:"_blank",rel:"noopener noreferrer",children:"Open original"})]})}),a.jsx("div",{className:"pdf-scroll-frame",children:T?a.jsx("div",{className:"pdf-loading",role:"status",children:"Loading the paper…"}):y?a.jsx("iframe",{className:"reader-web-frame",src:e,title:`Original page: ${c}`,sandbox:"allow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox",referrerPolicy:"strict-origin-when-cross-origin"}):a.jsx("div",{className:"pdf-scroll",role:"region","aria-label":"Paper web page",children:u.isPending?a.jsx("div",{className:"pdf-loading",role:"status",children:"Preparing a readable version of this page…"}):u.isError?a.jsxs("div",{className:"pdf-error",role:"alert",children:[a.jsx("p",{children:ct(u.error)}),a.jsxs("div",{children:[a.jsx("button",{type:"button",onClick:()=>void u.refetch(),children:"Retry"})," ",a.jsx("a",{href:e,target:"_blank",rel:"noopener noreferrer",children:"Open original"})]})]}):a.jsxs("article",{ref:l,className:"reader-web-document","data-page":"1",children:[!j.startsWith("# ")&&a.jsx("h1",{children:c}),a.jsx(et,{text:j})]})})})]})}const ke=66,dt=240,re="pwc:reader:split-ratio";function ut(r){const i=Number(sessionStorage.getItem(Ce(r)));return Number.isInteger(i)&&i>0?i:1}function ft(){const r=Number(localStorage.getItem(re));return Number.isFinite(r)&&r>=45&&r<=75?r:ke}function pt(r){const i=ae(r);if(!i)return null;const c=new URL(i);return(c.hostname==="arxiv.org"||c.hostname==="www.arxiv.org")&&c.pathname.startsWith("/pdf/")&&c.pathname.endsWith(".pdf")&&(c.pathname=c.pathname.slice(0,-4)),c.href}const mt=/^\/pdf\/(\d{4}\.\d{4,5}(?:v\d{1,3})?|[a-z]+(?:-[a-z]+)*(?:\.[A-Z]{2})?\/\d{7}(?:v\d{1,3})?)$/;function ht(r){const i=new URL(r),c=i.pathname.match(mt);return(i.hostname==="arxiv.org"||i.hostname==="www.arxiv.org")&&c&&!i.search?_e(`/paper-assets/arxiv-pdf/${c[1]}`)??r:r}function gt(r){return new URL(r).hostname.replace(/^www\./,"")}function bt(r){if(!r)return{};const i={};for(const e of r.repositories??[]){if(!e.is_official)continue;const o=ae(e.url);if(!o)continue;const h=new URL(o),b=h.pathname.split("/").filter(Boolean);if((h.hostname==="github.com"||h.hostname==="www.github.com")&&b.length>=2){i.repository={href:o,stars:e.num_stars||0};break}}const c=[...r.project_pages??[]].sort((e,o)=>Number(o.is_official)-Number(e.is_official));for(const e of c){const o=ae(e.url);if(o){i.projectPage={href:o,label:gt(o)};break}}const g=r.hf_artifact_summary?r.hf_artifact_summary.model_count+r.hf_artifact_summary.dataset_count+r.hf_artifact_summary.space_count:new Set([...r.hf_models??[],...r.hf_datasets??[],...r.hf_spaces??[]]).size;return g>0&&r.arxiv_id&&(i.huggingFace={href:`https://huggingface.co/papers/${r.arxiv_id.replace(/v\d+$/i,"")}`,count:g}),i}function vt({routeId:r}){var Pe,we,Re,ye,je;const i=Ue(),c=E(F.detail(r)),g=E({queryKey:["chatAvailability"],queryFn:()=>it.getAvailability(),refetchInterval:3e4,retry:!1}),e=c.data,o=e?st(e):null,h=o?null:(e==null?void 0:e.source)==="external"?_e(`/paper-assets/external/${e.id}/paper.pdf`):pt(e==null?void 0:e.url_pdf),b=h&&(e==null?void 0:e.source)!=="external"?ht(h):h,w=!o&&(e==null?void 0:e.source)==="external"?nt(e):null,$=bt(e),K=s.useMemo(()=>{var t;return(t=e==null?void 0:e.author_links)==null?void 0:t.flatMap(n=>n.id?[{id:n.id,name:n.name,avatarUrl:n.hf_avatar_url}]:[])},[e==null?void 0:e.author_links]),l=((Pe=e==null?void 0:e.arxiv_id)==null?void 0:Pe.replace(/v\d+$/i,""))||r,C=s.useCallback(()=>i(`/paper/${l}`),[l,i]),[v,T]=s.useState(()=>sessionStorage.getItem(ee(r))||void 0),[x,k]=s.useState(ft),[d,y]=s.useState(()=>sessionStorage.getItem(Se(r))==="1"),[u,P]=s.useState("paper"),[j,S]=s.useState(),[I,U]=s.useState(),[M,Ne]=s.useState(!1),Ae=s.useCallback(()=>Ne(!0),[]),[Ee,_]=s.useState(""),[se]=s.useState(()=>ut(r)),[N,$e]=s.useState(0),[ne,ie]=s.useState(!1),[Te,oe]=s.useState(!1),z=s.useRef(null),D=s.useRef(null),W=s.useRef(null),ce=s.useRef(null),le=s.useRef(null),q=s.useRef(!1),L=s.useRef(!1),V=s.useRef(0),R=s.useRef(0),Q=s.useRef(0),A=s.useRef(x),de=s.useRef(se),X=s.useRef(e==null?void 0:e.version),ue=Xe().reset,fe=s.useRef(v),p=N>=840;s.useEffect(()=>{fe.current!==v&&(fe.current=v,ue())},[v,ue]),s.useEffect(()=>{e!=null&&e.version&&X.current&&e.version!==X.current&&(S(void 0),_("")),X.current=e==null?void 0:e.version},[e==null?void 0:e.version]),s.useEffect(()=>()=>{window.clearTimeout(V.current),cancelAnimationFrame(R.current)},[]),s.useLayoutEffect(()=>{const t=z.current;if(!t)return;const n=()=>$e(t.clientWidth);n();const f=new ResizeObserver(n);return f.observe(t),()=>f.disconnect()},[e]),s.useEffect(()=>{if(!e)return;document.title=`${e.title} — Papers With Code reader`;let t=document.querySelector('meta[name="robots"]');const n=!t;t||(t=document.createElement("meta"),t.name="robots",document.head.appendChild(t));const f=t.content;t.content="noindex, nofollow";let m=document.querySelector('link[rel="canonical"]');const He=!m;m||(m=document.createElement("link"),m.rel="canonical",document.head.appendChild(m));const Oe=m.href;return m.href=`${window.location.origin}/paper/${l}`,()=>{document.title="Papers With Code",n?t==null||t.remove():t&&(t.content=f),He?m==null||m.remove():m&&(m.href=Oe)}},[l,e]);const B=s.useCallback(t=>{if(!N)return Math.max(45,Math.min(75,t));const n=480/N*100,f=100-360/N*100;return Math.max(n,Math.min(f,t))},[N]);s.useEffect(()=>k(t=>{const n=B(t);return A.current=n,n}),[B]);const H=t=>{const n=B(t);A.current=n,k(n),localStorage.setItem(re,String(n))},pe=t=>{var f;const n=B(t);A.current=n,D.current&&(D.current.style.width=`${n}%`),W.current&&(W.current.style.width=`${100-n}%`),(f=ce.current)==null||f.setAttribute("aria-valuenow",String(Math.round(n)))},me=t=>{Q.current=t,!R.current&&(R.current=requestAnimationFrame(()=>{var f;R.current=0;const n=(f=z.current)==null?void 0:f.getBoundingClientRect();n!=null&&n.width&&pe((Q.current-n.left)/n.width*100)}))},Ie=t=>{L.current=!0,ie(!0),t.currentTarget.setPointerCapture(t.pointerId),me(t.clientX)},Y=()=>{var t;if(L.current){if(R.current){cancelAnimationFrame(R.current),R.current=0;const n=(t=z.current)==null?void 0:t.getBoundingClientRect();n!=null&&n.width&&pe((Q.current-n.left)/n.width*100)}L.current=!1,k(A.current),localStorage.setItem(re,String(A.current)),ie(!1)}},he=t=>{window.clearTimeout(V.current),oe(!0),y(t),sessionStorage.setItem(Se(r),t?"1":"0"),V.current=window.setTimeout(()=>oe(!1),dt+40)},ge=t=>{q.current=!0,he(t)};s.useEffect(()=>{var t;q.current&&(q.current=!1,(t=d?le.current:W.current)==null||t.focus())},[d]);const Me=t=>{T(t),sessionStorage.setItem(ee(r),t)},ze=()=>{T(void 0),sessionStorage.removeItem(ee(r)),S(void 0),_("")},be=((we=g.data)==null?void 0:we.paper_reader_selection_enabled)===!0,ve=t=>{S(t),_(`Selection from page ${t.page} added to chat`),p&&d&&he(!1)},We=s.useCallback(t=>{S(t),t||_("")},[]),Z=((Re=g.data)==null?void 0:Re.paper_reader_citations_enabled)===!0&&!!b,O=E({...F.layout(l),enabled:Z&&!!l}).data,Le=s.useMemo(()=>Z?{layout:O,open:t=>{const n=O?Ye(O,t):[];n.length&&(U(f=>({boxes:n,nonce:((f==null?void 0:f.nonce)??0)+1})),P("paper"))}}:null,[Z,O]),xe=De()&&((ye=g.data)==null?void 0:ye.paper_reader_chat_enabled)!==!1,G=!!(e&&xe&&!(o&&!M)),Be=e&&xe&&!G?a.jsx("div",{className:"reader-chat-unavailable",role:"status",children:"Chat opens once the paper is ready."}):e&&G?a.jsx(ot,{mode:"paper",routeSessionId:v,primaryPaper:{id:e.id,routeId:l,title:e.title,arxivId:e.arxiv_id},currentPage:()=>de.current,paperSelection:j,onPaperSelectionChange:We,onSessionId:Me,onReaderSubmit:()=>P("assistant"),onReaderNewChat:ze,onReaderClose:p?()=>ge(!0):void 0}):a.jsx("div",{className:"reader-chat-unavailable",children:"Chat is not enabled for this preview."});return c.isLoading?a.jsx("div",{className:"reader-status",role:"status",children:"Loading paper…"}):c.error||!e?a.jsxs("div",{className:"reader-status",role:"alert",children:[a.jsx("p",{children:"Paper not found."}),a.jsx(J,{to:"/papers",children:"Browse papers"})]}):((je=g.data)==null?void 0:je.native_pdf_reader_enabled)===!1?a.jsxs("div",{className:"reader-status",role:"alert",children:[a.jsx("p",{children:"The native reader is currently unavailable."}),a.jsx(J,{to:`/paper/${l}`,children:"Back to paper"})]}):!b&&!o?a.jsxs("div",{className:"reader-status",role:"alert",children:[a.jsx("p",{children:"Native reading is unavailable for this resource."}),a.jsx(J,{to:`/paper/${l}`,children:"Back to paper"})]}):a.jsxs("div",{className:"paper-reader-shell",children:[!p&&a.jsxs("div",{className:"reader-tabs",role:"tablist","aria-label":"Reader panels",children:[a.jsx("button",{type:"button",role:"tab","aria-selected":u==="paper",onClick:()=>P("paper"),children:"Paper"}),a.jsxs("button",{type:"button",role:"tab","aria-selected":u==="assistant","aria-label":j&&u!=="assistant"?"Chat, selection attached":"Chat",onClick:()=>P("assistant"),children:["Chat",j&&u!=="assistant"&&a.jsx("span",{className:"reader-tab-pending","aria-hidden":"true"})]})]}),a.jsx(Ze,{variant:"reader",children:a.jsxs("div",{ref:z,className:`reader-workspace${p?" is-desktop":" is-tabs"}${d?" is-assistant-collapsed":""}${ne?" is-resizing":""}`,"data-testid":"paper-chat-workspace",children:[a.jsx("section",{ref:D,className:`reader-paper-pane${!p&&u!=="paper"?" is-hidden":""}`,style:p?{width:d?"100%":`${x}%`}:void 0,role:"tabpanel","aria-label":"Paper","aria-hidden":!p&&u!=="paper",children:o?a.jsx(lt,{paperId:e.id,paperKey:l,paperTitle:e.title,paperHref:`/paper/${l}`,sourceUrl:o,resources:$,paperVersion:e.version,selectionEnabled:be,onReady:Ae,onPaperSelection:ve,onPaperSelectionError:_}):b&&a.jsx(Ge,{url:b,fallbackUrl:w??void 0,downloadUrl:w??h??b,paperKey:l,paperTitle:e.title,paperHref:`/paper/${l}`,onClose:C,resources:$,initialPage:se,resizeActive:ne||Te,selectionEnabled:be,paperVersion:e.version,authors:K,loadErrorMessage:e.source==="external"?"Paper content is still being prepared. Please try again later.":void 0,onPaperSelection:ve,onPaperSelectionError:_,highlight:I,onPageChange:t=>{de.current=t,sessionStorage.setItem(Ce(r),String(t))}})}),p&&!d&&a.jsx("div",{ref:ce,className:"reader-resize-handle",role:"separator","aria-label":"Resize paper and Chat panels","aria-orientation":"vertical","aria-valuemin":45,"aria-valuemax":75,"aria-valuenow":Math.round(x),tabIndex:0,onPointerDown:Ie,onPointerMove:t=>{L.current&&me(t.clientX)},onPointerUp:Y,onPointerCancel:Y,onLostPointerCapture:Y,onDoubleClick:()=>H(ke),onKeyDown:t=>{(t.key==="ArrowLeft"||t.key==="ArrowRight")&&(t.preventDefault(),H(x+(t.key==="ArrowRight"?2:-2))),t.key==="Home"&&H(45),t.key==="End"&&H(75)}}),a.jsx("aside",{ref:W,id:"reader-chat-panel",className:`reader-assistant-pane${!p&&u!=="assistant"?" is-hidden":""}${p&&d?" is-collapsed":""}`,style:p?{width:d?0:`${100-x}%`}:void 0,role:"tabpanel","aria-label":"Chat","aria-hidden":!p&&u!=="assistant"||d,tabIndex:-1,children:a.jsx(Je.Provider,{value:Le,children:Be})}),a.jsx("div",{className:"sr-only","aria-live":"polite",children:Ee}),p&&(d||!G)&&a.jsx("button",{ref:le,type:"button",className:"reader-collapse-assistant","aria-controls":"reader-chat-panel","aria-expanded":!d,onClick:()=>ge(!d),children:d?"Open chat":"Hide chat"})]})})]})}function ta(){const{paperId:r=""}=Fe(),i=Ke(r).replace(/v\d+$/i,"");return a.jsx(Qe,{workspaceKey:`reader:${r}`,children:a.jsx(vt,{routeId:i},i)})}export{ta as default,bt as readerToolbarResources};
assets/{PapersListView-HiPw5d_R.js → PapersListView-BHQ1Gxhq.js} RENAMED
@@ -1 +1 @@
1
- import{f as Q,i as u,B,w as I,m as U,j as e,L as f,x as K,b as V,v as X}from"./index-DL_JM2Ot.js";import{T as J}from"./SotaBadges-GpZeMWYD.js";import{I as q}from"./Icon-N8z7DeBC.js";import{b as W,u as M,a as Y,c as Z,d as ee,P as se}from"./usePapers-DbWhzgNx.js";import{t as re,d as ae}from"./transform-WCen521A.js";import{u as te}from"./useDebounce-DluHgsjc.js";import{S as ne}from"./skeleton-CKwY1CoC.js";import{A as ie,a as le}from"./alert-BAtahhuM.js";import{f as oe}from"./frameworks-DDA0P4Tf.js";import{u as de}from"./useDocumentTitle-CK4VxG11.js";import{p as ce}from"./pageTitles-CNuk5c2y.js";import"./colors-BkWRhvFI.js";import"./PaperCard-BXiZHon_.js";import"./AuthorAvatar-CrqIFv87.js";import"./LatexTitle-CgJviprz.js";import"./safeExternalHref-CkBrsh84.js";import"./popover-DRgAhCdU.js";import"./useIntersectionObserver-CK36kpUi.js";import"./useInfiniteQuery-hVKCzcm1.js";const g=360;function me(s,r){const a=s.toLocaleLowerCase();return r.trim().split(/\s+/).filter(Boolean).reduce((t,n)=>{const i=a.indexOf(n.toLocaleLowerCase());return i>=0&&(t<0||i<t)?i:t},-1)}function H(s,r,a){if((s.slice(0,r).match(/\$/g)||[]).length%2===0)return r;if(a==="start")return s.lastIndexOf("$",r)+1;const n=s.indexOf("$",r);return n>=0?n+1:r}function he(s,r){if(s.length<=g)return s;const a=me(s,r);if(a<0||a<g*.6)return s;let t=Math.max(0,a-Math.floor(g*.35)),n=Math.min(s.length,t+g);return t=H(s,t,"start"),n=H(s,n,"end"),`${t>0?"…":""}${s.slice(t,n).trim()}${n<s.length?"…":""}`}const pe=[["relevance","relevance"],["date_published","newest"],["citation_count","most cited"]];function ue(s){return s.get("framework")||s.get("repository")?"scoped":(s.get("search")||"").trim()?"search":"browse"}const Be=()=>{var D,L,R,E,T,$,C,A;const[s]=Q(),r=s.get("framework")||void 0,a=s.get("repository")||void 0,t=s.get("search")||"",n=ue(s),i=n==="search",l=W({defaultToLastMonth:!i}),{setSearchParams:c}=l,[x,b]=u.useState(t),p=te(x,300);u.useEffect(()=>b(t),[t]),u.useEffect(()=>{if(p===t)return;const d=new URLSearchParams(s);p?d.set("search",p):d.delete("search"),c(d,{replace:!0})},[p]),u.useEffect(()=>{const d=s.get("order_by"),h=new URLSearchParams(s);i&&!["relevance","date_published","citation_count"].includes(d||"")?(h.set("order_by","relevance"),c(h,{replace:!0})):!i&&d==="relevance"&&(h.delete("order_by"),c(h,{replace:!0}))},[i,s,c]);const j=i&&l.orderBy==="trending"?"relevance":l.orderBy,F=n!=="scoped"&&l.hasCode,S={...l.filters,has_code:F,search:n==="scoped"&&p||void 0,conference:s.get("conference")||void 0,latest_only:s.get("latest_only")!=="false",framework:r,repository:a},v=M(I.list(S),d=>B.list({...S,page:d,page_size:20}),{enabled:!i}),_={q:p.trim(),order_by:j==="trending"?"relevance":j,start_date:l.dateRange.startDate,end_date:l.dateRange.endDate,has_code:F,has_hf_artifacts:l.hasHfArtifacts},P=M(I.search(_),d=>B.searchFeed({..._,page:d,page_size:20,mode:"hybrid"}),{enabled:i&&_.q.length>0}),m=i?P:v,k=u.useMemo(()=>{var h;return(((h=m.data)==null?void 0:h.pages.flatMap(w=>w.results))||[]).map(w=>{const y=re(w);return i?{...y,abstract:he(y.abstract,t)}:y})},[m.data,i,t]),O=((R=(L=(D=v.data)==null?void 0:D.pages)==null?void 0:L[0])==null?void 0:R.count)??0,o=($=(T=(E=v.data)==null?void 0:E.pages)==null?void 0:T[0])==null?void 0:$.scope,z=((o==null?void 0:o.kind)==="framework"?o.framework_name:o==null?void 0:o.repository)||r||a;de(ce(n==="scoped"?`Papers implemented by ${z}`:n==="search"?`Search results for “${t.trim()}”`:"All Papers"));const N=(A=(C=P.data)==null?void 0:C.pages)==null?void 0:A.at(-1),G=r&&U(m.error);return e.jsxs("div",{className:"page",children:[(o==null?void 0:o.kind)==="framework"&&e.jsxs("nav",{className:"breadcrumb","aria-label":"Breadcrumb",children:[e.jsx(f,{to:"/",children:"Papers"}),e.jsx("span",{className:"sep",children:"/"}),e.jsx(f,{to:"/frameworks",children:"Frameworks"}),e.jsx("span",{className:"sep",children:"/"}),e.jsx("span",{style:{color:"var(--ink)"},children:o.framework_name})]}),e.jsxs("div",{className:"feed-header",children:[e.jsxs("div",{children:[e.jsx(fe,{mode:n,scope:o,scopeName:r||a,search:t,totalCount:O,loadedCount:k.length,hasDateRange:!!(l.dateRange.startDate||l.dateRange.endDate)}),n==="scoped"&&o&&e.jsx(xe,{scope:o})]}),e.jsx(Y,{startDate:l.dateRange.startDate,endDate:l.dateRange.endDate,onChange:l.setDateRange})]}),e.jsx("div",{className:"papers-search-row",children:e.jsxs("div",{className:"papers-search-input-wrap",children:[e.jsx(q,{name:"search",size:14}),e.jsx("input",{className:"papers-search-input",placeholder:"Search title or abstract…",value:x,onChange:d=>b(d.target.value)})]})}),e.jsxs("div",{className:n==="browse"?"layout-with-sidebar":"papers-feed-layout-scoped",children:[n==="browse"&&e.jsx(ge,{}),e.jsxs("div",{children:[e.jsx(Z,{feed:l,sorts:i?pe:ee,activeSort:j,showDateFilter:!1,showHasCode:n!=="scoped",children:e.jsxs("div",{className:"results-count",children:[k.length," loaded"]})}),G?e.jsx("div",{className:"no-results",children:"Framework not found."}):e.jsxs(e.Fragment,{children:[m.error&&e.jsx(ie,{variant:"destructive",className:"mb-4",children:e.jsx(le,{children:"Failed to load papers. Please try again."})}),e.jsx(se,{query:m,cards:k,skeleton:"card",highlightQuery:i?t:void 0,empty:e.jsxs(e.Fragment,{children:[e.jsx("p",{children:"No matching papers."}),i&&K()&&e.jsx(f,{to:`/chat?q=${encodeURIComponent(t.trim())}`,children:"Ask the assistant instead"})]}),children:!m.hasNextPage&&!m.isFetchingNextPage&&i&&e.jsx("div",{className:"search-results-end",children:N!=null&&N.cap_reached?"End of the top 100 results":"End of results"})})]})]})]})]})};function fe({mode:s,scope:r,scopeName:a,search:t,totalCount:n,loadedCount:i,hasDateRange:l}){const c=n>0&&`${n.toLocaleString()} papers.`;switch(s){case"scoped":{const x=(r==null?void 0:r.kind)==="framework"?r.framework_name:r==null?void 0:r.repository;return e.jsxs(e.Fragment,{children:[e.jsxs("h1",{className:"feed-title",children:["Papers implemented by ",e.jsx("em",{children:x||a})]}),e.jsx("div",{className:"feed-subtitle",children:(r==null?void 0:r.kind)==="framework"?c:r!=null&&r.repository?e.jsxs(e.Fragment,{children:["GitHub repository ",e.jsx("strong",{children:r.repository}),". ",c]}):"Repository-scoped paper feed."})]})}case"search":return e.jsxs(e.Fragment,{children:[e.jsxs("h1",{className:"feed-title",children:["Search results for ",e.jsxs("em",{children:["“",t,"”"]})]}),e.jsx("div",{className:"feed-subtitle",children:`${i} loaded from the most relevant results.`})]});case"browse":return e.jsxs(e.Fragment,{children:[e.jsxs("h1",{className:"feed-title",children:["All ",e.jsx("em",{children:"Papers"})]}),e.jsxs("div",{className:"feed-subtitle",children:["Search the full corpus. ",n>0&&`${n.toLocaleString()} ${l?"papers in this date range":"papers indexed"}.`]})]})}}function xe({scope:s}){const r=s.kind==="framework";return e.jsxs("div",{className:"paper-feed-scope-links",children:[e.jsxs("div",{className:"paper-feed-primary-links",children:[s.github_url&&e.jsxs("a",{href:s.github_url,target:"_blank",rel:"noopener noreferrer",className:r?"task-framework-link":"framework-link",children:[e.jsx(q,{name:"github",size:13}),r?e.jsxs(e.Fragment,{children:[e.jsx("span",{children:s.repository||"GitHub"}),s.num_stars!=null&&e.jsxs("span",{className:"task-framework-link-stars",children:["★ ",oe(s.num_stars)]})]}):"GitHub"]}),r&&s.introducing_paper_arxiv_id&&e.jsx(f,{to:`/paper/${s.introducing_paper_arxiv_id}`,className:"framework-link",children:"Introducing paper"})]}),r&&s.recommended_tasks&&s.recommended_tasks.length>0&&e.jsx("div",{className:"paper-feed-task-tags",children:s.recommended_tasks.map(a=>a.slug?e.jsx(J,{slug:a.slug,label:a.name},a.id):null)})]})}function ge(){var r;const s=V(X.topTasks(8));return e.jsx("aside",{className:"sidebar",children:e.jsxs("div",{className:"sidebar-section",children:[e.jsx("div",{className:"sidebar-label",children:"Top Domains"}),s.isLoading&&e.jsx("div",{style:{display:"flex",flexDirection:"column",gap:8},children:Array.from({length:6}).map((a,t)=>e.jsx(ne,{className:"h-5 w-full"},t))}),e.jsx("div",{className:"sidebar-links",children:(r=s.data)==null?void 0:r.map(a=>e.jsxs(f,{to:`/tasks/${a.slug}`,className:"sidebar-link",children:[ae(a.name,a.slug),a.paper_count!=null&&e.jsx("span",{className:"count",children:a.paper_count})]},a.id))})]})})}export{Be as default};
 
1
+ import{f as Q,i as u,B,w as I,m as U,j as e,L as f,x as K,b as V,v as X}from"./index-CrYWgAoM.js";import{T as J}from"./SotaBadges-MTukWJ8b.js";import{I as q}from"./Icon-BrPPGkYF.js";import{b as W,u as M,a as Y,c as Z,d as ee,P as se}from"./usePapers-BPV2QuS7.js";import{t as re,d as ae}from"./transform-CRzM_tWE.js";import{u as te}from"./useDebounce-DFwSyDWe.js";import{S as ne}from"./skeleton-CR7iZvat.js";import{A as ie,a as le}from"./alert-BWfaZ9GT.js";import{f as oe}from"./frameworks-DDA0P4Tf.js";import{u as de}from"./useDocumentTitle-BLJX3S0V.js";import{p as ce}from"./pageTitles-DI-gHdpy.js";import"./colors-BkWRhvFI.js";import"./PaperCard-CrdVyQE8.js";import"./AuthorAvatar-Cn_8_omA.js";import"./LatexTitle-TFtKXSOA.js";import"./safeExternalHref-CkBrsh84.js";import"./popover-DfUABjJn.js";import"./useIntersectionObserver-CWHTKkKe.js";import"./useInfiniteQuery-B5y4jCiW.js";const g=360;function me(s,r){const a=s.toLocaleLowerCase();return r.trim().split(/\s+/).filter(Boolean).reduce((t,n)=>{const i=a.indexOf(n.toLocaleLowerCase());return i>=0&&(t<0||i<t)?i:t},-1)}function H(s,r,a){if((s.slice(0,r).match(/\$/g)||[]).length%2===0)return r;if(a==="start")return s.lastIndexOf("$",r)+1;const n=s.indexOf("$",r);return n>=0?n+1:r}function he(s,r){if(s.length<=g)return s;const a=me(s,r);if(a<0||a<g*.6)return s;let t=Math.max(0,a-Math.floor(g*.35)),n=Math.min(s.length,t+g);return t=H(s,t,"start"),n=H(s,n,"end"),`${t>0?"…":""}${s.slice(t,n).trim()}${n<s.length?"…":""}`}const pe=[["relevance","relevance"],["date_published","newest"],["citation_count","most cited"]];function ue(s){return s.get("framework")||s.get("repository")?"scoped":(s.get("search")||"").trim()?"search":"browse"}const Be=()=>{var D,L,R,E,T,$,C,A;const[s]=Q(),r=s.get("framework")||void 0,a=s.get("repository")||void 0,t=s.get("search")||"",n=ue(s),i=n==="search",l=W({defaultToLastMonth:!i}),{setSearchParams:c}=l,[x,b]=u.useState(t),p=te(x,300);u.useEffect(()=>b(t),[t]),u.useEffect(()=>{if(p===t)return;const d=new URLSearchParams(s);p?d.set("search",p):d.delete("search"),c(d,{replace:!0})},[p]),u.useEffect(()=>{const d=s.get("order_by"),h=new URLSearchParams(s);i&&!["relevance","date_published","citation_count"].includes(d||"")?(h.set("order_by","relevance"),c(h,{replace:!0})):!i&&d==="relevance"&&(h.delete("order_by"),c(h,{replace:!0}))},[i,s,c]);const j=i&&l.orderBy==="trending"?"relevance":l.orderBy,F=n!=="scoped"&&l.hasCode,S={...l.filters,has_code:F,search:n==="scoped"&&p||void 0,conference:s.get("conference")||void 0,latest_only:s.get("latest_only")!=="false",framework:r,repository:a},v=M(I.list(S),d=>B.list({...S,page:d,page_size:20}),{enabled:!i}),_={q:p.trim(),order_by:j==="trending"?"relevance":j,start_date:l.dateRange.startDate,end_date:l.dateRange.endDate,has_code:F,has_hf_artifacts:l.hasHfArtifacts},P=M(I.search(_),d=>B.searchFeed({..._,page:d,page_size:20,mode:"hybrid"}),{enabled:i&&_.q.length>0}),m=i?P:v,k=u.useMemo(()=>{var h;return(((h=m.data)==null?void 0:h.pages.flatMap(w=>w.results))||[]).map(w=>{const y=re(w);return i?{...y,abstract:he(y.abstract,t)}:y})},[m.data,i,t]),O=((R=(L=(D=v.data)==null?void 0:D.pages)==null?void 0:L[0])==null?void 0:R.count)??0,o=($=(T=(E=v.data)==null?void 0:E.pages)==null?void 0:T[0])==null?void 0:$.scope,z=((o==null?void 0:o.kind)==="framework"?o.framework_name:o==null?void 0:o.repository)||r||a;de(ce(n==="scoped"?`Papers implemented by ${z}`:n==="search"?`Search results for “${t.trim()}”`:"All Papers"));const N=(A=(C=P.data)==null?void 0:C.pages)==null?void 0:A.at(-1),G=r&&U(m.error);return e.jsxs("div",{className:"page",children:[(o==null?void 0:o.kind)==="framework"&&e.jsxs("nav",{className:"breadcrumb","aria-label":"Breadcrumb",children:[e.jsx(f,{to:"/",children:"Papers"}),e.jsx("span",{className:"sep",children:"/"}),e.jsx(f,{to:"/frameworks",children:"Frameworks"}),e.jsx("span",{className:"sep",children:"/"}),e.jsx("span",{style:{color:"var(--ink)"},children:o.framework_name})]}),e.jsxs("div",{className:"feed-header",children:[e.jsxs("div",{children:[e.jsx(fe,{mode:n,scope:o,scopeName:r||a,search:t,totalCount:O,loadedCount:k.length,hasDateRange:!!(l.dateRange.startDate||l.dateRange.endDate)}),n==="scoped"&&o&&e.jsx(xe,{scope:o})]}),e.jsx(Y,{startDate:l.dateRange.startDate,endDate:l.dateRange.endDate,onChange:l.setDateRange})]}),e.jsx("div",{className:"papers-search-row",children:e.jsxs("div",{className:"papers-search-input-wrap",children:[e.jsx(q,{name:"search",size:14}),e.jsx("input",{className:"papers-search-input",placeholder:"Search title or abstract…",value:x,onChange:d=>b(d.target.value)})]})}),e.jsxs("div",{className:n==="browse"?"layout-with-sidebar":"papers-feed-layout-scoped",children:[n==="browse"&&e.jsx(ge,{}),e.jsxs("div",{children:[e.jsx(Z,{feed:l,sorts:i?pe:ee,activeSort:j,showDateFilter:!1,showHasCode:n!=="scoped",children:e.jsxs("div",{className:"results-count",children:[k.length," loaded"]})}),G?e.jsx("div",{className:"no-results",children:"Framework not found."}):e.jsxs(e.Fragment,{children:[m.error&&e.jsx(ie,{variant:"destructive",className:"mb-4",children:e.jsx(le,{children:"Failed to load papers. Please try again."})}),e.jsx(se,{query:m,cards:k,skeleton:"card",highlightQuery:i?t:void 0,empty:e.jsxs(e.Fragment,{children:[e.jsx("p",{children:"No matching papers."}),i&&K()&&e.jsx(f,{to:`/chat?q=${encodeURIComponent(t.trim())}`,children:"Ask the assistant instead"})]}),children:!m.hasNextPage&&!m.isFetchingNextPage&&i&&e.jsx("div",{className:"search-results-end",children:N!=null&&N.cap_reached?"End of the top 100 results":"End of results"})})]})]})]})]})};function fe({mode:s,scope:r,scopeName:a,search:t,totalCount:n,loadedCount:i,hasDateRange:l}){const c=n>0&&`${n.toLocaleString()} papers.`;switch(s){case"scoped":{const x=(r==null?void 0:r.kind)==="framework"?r.framework_name:r==null?void 0:r.repository;return e.jsxs(e.Fragment,{children:[e.jsxs("h1",{className:"feed-title",children:["Papers implemented by ",e.jsx("em",{children:x||a})]}),e.jsx("div",{className:"feed-subtitle",children:(r==null?void 0:r.kind)==="framework"?c:r!=null&&r.repository?e.jsxs(e.Fragment,{children:["GitHub repository ",e.jsx("strong",{children:r.repository}),". ",c]}):"Repository-scoped paper feed."})]})}case"search":return e.jsxs(e.Fragment,{children:[e.jsxs("h1",{className:"feed-title",children:["Search results for ",e.jsxs("em",{children:["“",t,"”"]})]}),e.jsx("div",{className:"feed-subtitle",children:`${i} loaded from the most relevant results.`})]});case"browse":return e.jsxs(e.Fragment,{children:[e.jsxs("h1",{className:"feed-title",children:["All ",e.jsx("em",{children:"Papers"})]}),e.jsxs("div",{className:"feed-subtitle",children:["Search the full corpus. ",n>0&&`${n.toLocaleString()} ${l?"papers in this date range":"papers indexed"}.`]})]})}}function xe({scope:s}){const r=s.kind==="framework";return e.jsxs("div",{className:"paper-feed-scope-links",children:[e.jsxs("div",{className:"paper-feed-primary-links",children:[s.github_url&&e.jsxs("a",{href:s.github_url,target:"_blank",rel:"noopener noreferrer",className:r?"task-framework-link":"framework-link",children:[e.jsx(q,{name:"github",size:13}),r?e.jsxs(e.Fragment,{children:[e.jsx("span",{children:s.repository||"GitHub"}),s.num_stars!=null&&e.jsxs("span",{className:"task-framework-link-stars",children:["★ ",oe(s.num_stars)]})]}):"GitHub"]}),r&&s.introducing_paper_arxiv_id&&e.jsx(f,{to:`/paper/${s.introducing_paper_arxiv_id}`,className:"framework-link",children:"Introducing paper"})]}),r&&s.recommended_tasks&&s.recommended_tasks.length>0&&e.jsx("div",{className:"paper-feed-task-tags",children:s.recommended_tasks.map(a=>a.slug?e.jsx(J,{slug:a.slug,label:a.name},a.id):null)})]})}function ge(){var r;const s=V(X.topTasks(8));return e.jsx("aside",{className:"sidebar",children:e.jsxs("div",{className:"sidebar-section",children:[e.jsx("div",{className:"sidebar-label",children:"Top Domains"}),s.isLoading&&e.jsx("div",{style:{display:"flex",flexDirection:"column",gap:8},children:Array.from({length:6}).map((a,t)=>e.jsx(ne,{className:"h-5 w-full"},t))}),e.jsx("div",{className:"sidebar-links",children:(r=s.data)==null?void 0:r.map(a=>e.jsxs(f,{to:`/tasks/${a.slug}`,className:"sidebar-link",children:[ae(a.name,a.slug),a.paper_count!=null&&e.jsx("span",{className:"count",children:a.paper_count})]},a.id))})]})})}export{Be as default};
assets/{PrivacyView-XPFVudQH.js → PrivacyView-DBM7Poji.js} RENAMED
@@ -1 +1 @@
1
- import{j as e}from"./index-DL_JM2Ot.js";import{u as i,f as s}from"./useDocumentTitle-CK4VxG11.js";const r=()=>(i(s("Privacy Policy")),e.jsxs("article",{className:"page legal-page",children:[e.jsxs("header",{className:"legal-header",children:[e.jsx("p",{className:"legal-kicker",children:"Legal"}),e.jsx("h1",{children:"Privacy Policy"}),e.jsx("p",{className:"legal-effective-date",children:"Effective November 13, 2026"})]}),e.jsx("p",{children:"This Privacy Policy explains how Hugging Face, Inc. (“Hugging Face,” “we,” or “us”) collects, uses, and shares information when you use Papers With Code, including its website, research assistant, APIs, and related services (the “Service”)."}),e.jsxs("section",{children:[e.jsx("h2",{children:"1. Information we collect"}),e.jsx("h3",{children:"Information you provide"}),e.jsxs("ul",{children:[e.jsxs("li",{children:[e.jsx("strong",{children:"Account information."})," If you sign in with Hugging Face, we receive account identifiers and profile details needed to authenticate you, such as your user ID, username, and avatar. If you request contributor access, we also receive and retain the verified email address associated with your Hugging Face account so we can review and communicate about your request."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Contributions and preferences."})," We collect information you submit or save, such as paper submissions and edits, bookmarks, display preferences, feedback, and communications with us. Material you submit to a public research page may be publicly visible."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Research assistant content."})," We collect your questions, files you attach, conversation history, generated answers, citations, tool calls and results, and feedback about answers. Chats are private to your account unless you choose to create a share link; anyone with that link may be able to view the shared chat."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Uploaded files."})," If you attach a PDF, image, or text file to a chat, we store it privately with that chat so the research assistant can read it again later and so we can review chat quality. Uploaded files count toward your chat-data limit. A shared chat shows only each file's name and size, but answers in it may quote the file."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Voice input."})," If you dictate into the research assistant, your microphone audio is streamed to a speech-recognition model to produce text in your message box. Papers With Code does not store the audio or a separate transcript; the text becomes research assistant content only if you send it. We keep the length and time of each voice session to enforce usage limits."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Provider and billing information."})," If you enable a model provider, we process the authorization or API credentials needed to make requests on your behalf. Hugging Face or another provider processes its own billing information under its terms. Papers With Code does not collect your payment-card details."]})]}),e.jsx("h3",{children:"Information collected automatically"}),e.jsx("p",{children:"We collect technical and usage information such as IP address, browser and device type, operating system, pages or features used, dates and times, referring pages, request identifiers, cookies, logs, and diagnostic data. For research-assistant requests, this may include the selected model, token and cost details, latency, errors, and other operational metadata."}),e.jsx("h3",{children:"Research assistant tracing"}),e.jsxs("p",{children:["To evaluate, debug, secure, and improve the research assistant, we use Langfuse to record traces. A trace may contain the complete text of your question and the assistant's answer, as well as tool inputs, tool outputs, retrieved research material, model details, usage data, and related operational metadata.",e.jsx("strong",{children:" This trace content is not redacted before it is sent to Langfuse."})]}),e.jsx("p",{children:"Papers With Code is designed for questions about research literature. Do not put passwords, API keys, confidential information, health or financial data, or other sensitive personal information in research-assistant prompts."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"2. How we use information"}),e.jsx("p",{children:"We use information to:"}),e.jsxs("ul",{children:[e.jsx("li",{children:"provide, personalize, maintain, and operate the Service;"}),e.jsx("li",{children:"authenticate users and keep accounts and the Service secure;"}),e.jsx("li",{children:"run research-assistant requests and preserve conversation history;"}),e.jsx("li",{children:"measure performance, troubleshoot failures, and improve quality;"}),e.jsx("li",{children:"review contributions, prevent abuse, and enforce applicable terms;"}),e.jsx("li",{children:"communicate with you and respond to requests; and"}),e.jsx("li",{children:"comply with law and protect users, Hugging Face, and the public."})]})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"3. How we share information"}),e.jsx("p",{children:"We may share information in these circumstances:"}),e.jsxs("ul",{children:[e.jsxs("li",{children:[e.jsx("strong",{children:"Service providers."})," Vendors process information for hosting, authentication, analytics, observability, security, and support. These include Hugging Face services, Langfuse for research-assistant tracing, Plausible for website analytics, and infrastructure providers."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Speech recognition."})," Voice input audio is transcribed by a model hosted on Hugging Face Inference Endpoints. While that model is starting up or at capacity, the audio is transcribed by OpenAI instead. Neither audio nor transcripts are retained by Papers With Code."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Model providers."})," Research-assistant content is sent to the model provider you use, such as OpenAI, Hugging Face Inference Providers, or OpenRouter, so it can generate a response. Files you attach are uploaded to OpenAI, which stores them until the chat is deleted. That provider's privacy terms also apply to its processing."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Public and shared content."})," Contributions intended for public pages are public. A chat is disclosed through the Service when you create and distribute a share link."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Legal, safety, and corporate events."})," We may disclose information when reasonably necessary to comply with law, protect rights and safety, investigate abuse, or complete a merger, acquisition, financing, or transfer of assets."]})]}),e.jsx("p",{children:"We do not sell your personal information."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"4. Cookies and analytics"}),e.jsx("p",{children:"We use cookies and similar storage when needed for sign-in, security, preferences, and operation of the Service. We also use Plausible to understand aggregate website usage. You can control cookies through your browser, but disabling necessary cookies may prevent account features from working."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"5. Legal bases"}),e.jsx("p",{children:"Where applicable law requires a legal basis, we process information as needed to perform our agreement with you, with your consent, to comply with legal obligations, and for legitimate interests such as operating, securing, and improving the Service. You may withdraw consent where consent is the basis for processing, without affecting earlier processing."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"6. Retention and deletion"}),e.jsx("p",{children:"Private chats are retained until you delete them, subject to limits of 500 active chats and 100 MB of chat data per user. Archiving hides a chat and frees active-chat quota but does not delete it. You may deliberately share an unlisted snapshot; deleting its private chat removes the durable transcript, workspace reference, uploaded files (including the copy held by OpenAI), and share link after deletion is verified. No dedicated private-chat export format is currently offered."}),e.jsx("p",{children:"We keep information for as long as reasonably needed for the purposes described here, including providing the Service, maintaining security and audit records, resolving disputes, and meeting legal obligations. Retention periods vary by data type and service provider. You can delete individual chats in the Service. Deletion may not immediately remove information from backups, security logs, or third-party systems where limited retention is required."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"7. Security and international transfers"}),e.jsx("p",{children:"We use reasonable administrative, technical, and organizational safeguards, but no internet service can guarantee absolute security. We and our service providers may process information in the United States and other countries, which may have different data-protection laws from your country. Where required, we use appropriate safeguards for international transfers."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"8. Your privacy rights"}),e.jsx("p",{children:"Depending on where you live, you may have rights to access, correct, delete, or receive a copy of your personal information; object to or restrict processing; withdraw consent; or appeal a decision about a request. You may also have the right to complain to a data-protection authority. We may need to verify your identity before fulfilling a request."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"9. Children"}),e.jsx("p",{children:"The Service is not directed to children under 13, and we do not knowingly collect personal information from children under 13. If you believe a child has provided personal information, please contact us."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"10. Changes to this policy"}),e.jsx("p",{children:"We may update this policy as the Service changes. We will post the revised policy here and update its effective date. If a change is material, we will provide additional notice when appropriate."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"11. Contact us"}),e.jsxs("p",{children:["For questions or privacy requests, contact"," ",e.jsx("a",{href:"mailto:privacy@huggingface.co",children:"privacy@huggingface.co"}),". Please do not include passwords, API keys, or other sensitive credentials in your message."]})]})]}));export{r as default};
 
1
+ import{j as e}from"./index-CrYWgAoM.js";import{u as i,f as s}from"./useDocumentTitle-BLJX3S0V.js";const r=()=>(i(s("Privacy Policy")),e.jsxs("article",{className:"page legal-page",children:[e.jsxs("header",{className:"legal-header",children:[e.jsx("p",{className:"legal-kicker",children:"Legal"}),e.jsx("h1",{children:"Privacy Policy"}),e.jsx("p",{className:"legal-effective-date",children:"Effective November 13, 2026"})]}),e.jsx("p",{children:"This Privacy Policy explains how Hugging Face, Inc. (“Hugging Face,” “we,” or “us”) collects, uses, and shares information when you use Papers With Code, including its website, research assistant, APIs, and related services (the “Service”)."}),e.jsxs("section",{children:[e.jsx("h2",{children:"1. Information we collect"}),e.jsx("h3",{children:"Information you provide"}),e.jsxs("ul",{children:[e.jsxs("li",{children:[e.jsx("strong",{children:"Account information."})," If you sign in with Hugging Face, we receive account identifiers and profile details needed to authenticate you, such as your user ID, username, and avatar. If you request contributor access, we also receive and retain the verified email address associated with your Hugging Face account so we can review and communicate about your request."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Contributions and preferences."})," We collect information you submit or save, such as paper submissions and edits, bookmarks, display preferences, feedback, and communications with us. Material you submit to a public research page may be publicly visible."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Research assistant content."})," We collect your questions, files you attach, conversation history, generated answers, citations, tool calls and results, and feedback about answers. Chats are private to your account unless you choose to create a share link; anyone with that link may be able to view the shared chat."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Uploaded files."})," If you attach a PDF, image, or text file to a chat, we store it privately with that chat so the research assistant can read it again later and so we can review chat quality. Uploaded files count toward your chat-data limit. A shared chat shows only each file's name and size, but answers in it may quote the file."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Voice input."})," If you dictate into the research assistant, your microphone audio is streamed to a speech-recognition model to produce text in your message box. Papers With Code does not store the audio or a separate transcript; the text becomes research assistant content only if you send it. We keep the length and time of each voice session to enforce usage limits."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Provider and billing information."})," If you enable a model provider, we process the authorization or API credentials needed to make requests on your behalf. Hugging Face or another provider processes its own billing information under its terms. Papers With Code does not collect your payment-card details."]})]}),e.jsx("h3",{children:"Information collected automatically"}),e.jsx("p",{children:"We collect technical and usage information such as IP address, browser and device type, operating system, pages or features used, dates and times, referring pages, request identifiers, cookies, logs, and diagnostic data. For research-assistant requests, this may include the selected model, token and cost details, latency, errors, and other operational metadata."}),e.jsx("h3",{children:"Research assistant tracing"}),e.jsxs("p",{children:["To evaluate, debug, secure, and improve the research assistant, we use Langfuse to record traces. A trace may contain the complete text of your question and the assistant's answer, as well as tool inputs, tool outputs, retrieved research material, model details, usage data, and related operational metadata.",e.jsx("strong",{children:" This trace content is not redacted before it is sent to Langfuse."})]}),e.jsx("p",{children:"Papers With Code is designed for questions about research literature. Do not put passwords, API keys, confidential information, health or financial data, or other sensitive personal information in research-assistant prompts."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"2. How we use information"}),e.jsx("p",{children:"We use information to:"}),e.jsxs("ul",{children:[e.jsx("li",{children:"provide, personalize, maintain, and operate the Service;"}),e.jsx("li",{children:"authenticate users and keep accounts and the Service secure;"}),e.jsx("li",{children:"run research-assistant requests and preserve conversation history;"}),e.jsx("li",{children:"measure performance, troubleshoot failures, and improve quality;"}),e.jsx("li",{children:"review contributions, prevent abuse, and enforce applicable terms;"}),e.jsx("li",{children:"communicate with you and respond to requests; and"}),e.jsx("li",{children:"comply with law and protect users, Hugging Face, and the public."})]})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"3. How we share information"}),e.jsx("p",{children:"We may share information in these circumstances:"}),e.jsxs("ul",{children:[e.jsxs("li",{children:[e.jsx("strong",{children:"Service providers."})," Vendors process information for hosting, authentication, analytics, observability, security, and support. These include Hugging Face services, Langfuse for research-assistant tracing, Plausible for website analytics, and infrastructure providers."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Speech recognition."})," Voice input audio is transcribed by a model hosted on Hugging Face Inference Endpoints. While that model is starting up or at capacity, the audio is transcribed by OpenAI instead. Neither audio nor transcripts are retained by Papers With Code."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Model providers."})," Research-assistant content is sent to the model provider you use, such as OpenAI, Hugging Face Inference Providers, or OpenRouter, so it can generate a response. Files you attach are uploaded to OpenAI, which stores them until the chat is deleted. That provider's privacy terms also apply to its processing."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Public and shared content."})," Contributions intended for public pages are public. A chat is disclosed through the Service when you create and distribute a share link."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Legal, safety, and corporate events."})," We may disclose information when reasonably necessary to comply with law, protect rights and safety, investigate abuse, or complete a merger, acquisition, financing, or transfer of assets."]})]}),e.jsx("p",{children:"We do not sell your personal information."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"4. Cookies and analytics"}),e.jsx("p",{children:"We use cookies and similar storage when needed for sign-in, security, preferences, and operation of the Service. We also use Plausible to understand aggregate website usage. You can control cookies through your browser, but disabling necessary cookies may prevent account features from working."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"5. Legal bases"}),e.jsx("p",{children:"Where applicable law requires a legal basis, we process information as needed to perform our agreement with you, with your consent, to comply with legal obligations, and for legitimate interests such as operating, securing, and improving the Service. You may withdraw consent where consent is the basis for processing, without affecting earlier processing."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"6. Retention and deletion"}),e.jsx("p",{children:"Private chats are retained until you delete them, subject to limits of 500 active chats and 100 MB of chat data per user. Archiving hides a chat and frees active-chat quota but does not delete it. You may deliberately share an unlisted snapshot; deleting its private chat removes the durable transcript, workspace reference, uploaded files (including the copy held by OpenAI), and share link after deletion is verified. No dedicated private-chat export format is currently offered."}),e.jsx("p",{children:"We keep information for as long as reasonably needed for the purposes described here, including providing the Service, maintaining security and audit records, resolving disputes, and meeting legal obligations. Retention periods vary by data type and service provider. You can delete individual chats in the Service. Deletion may not immediately remove information from backups, security logs, or third-party systems where limited retention is required."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"7. Security and international transfers"}),e.jsx("p",{children:"We use reasonable administrative, technical, and organizational safeguards, but no internet service can guarantee absolute security. We and our service providers may process information in the United States and other countries, which may have different data-protection laws from your country. Where required, we use appropriate safeguards for international transfers."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"8. Your privacy rights"}),e.jsx("p",{children:"Depending on where you live, you may have rights to access, correct, delete, or receive a copy of your personal information; object to or restrict processing; withdraw consent; or appeal a decision about a request. You may also have the right to complain to a data-protection authority. We may need to verify your identity before fulfilling a request."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"9. Children"}),e.jsx("p",{children:"The Service is not directed to children under 13, and we do not knowingly collect personal information from children under 13. If you believe a child has provided personal information, please contact us."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"10. Changes to this policy"}),e.jsx("p",{children:"We may update this policy as the Service changes. We will post the revised policy here and update its effective date. If a change is material, we will provide additional notice when appropriate."})]}),e.jsxs("section",{children:[e.jsx("h2",{children:"11. Contact us"}),e.jsxs("p",{children:["For questions or privacy requests, contact"," ",e.jsx("a",{href:"mailto:privacy@huggingface.co",children:"privacy@huggingface.co"}),". Please do not include passwords, API keys, or other sensitive credentials in your message."]})]})]}));export{r as default};
assets/{RateLimitsView-BFAbOTCd.js → RateLimitsView-BfkqehsC.js} RENAMED
@@ -1 +1 @@
1
- import{b as t,j as e,aa as s}from"./index-DL_JM2Ot.js";const n=()=>{const i=t(s.rateLimitPolicy()).data;return e.jsxs("div",{className:"page",style:{maxWidth:760},children:[e.jsx("h1",{children:"Submission and rate-limit policy"}),i?e.jsxs(e.Fragment,{children:[e.jsxs("p",{children:["Each account may have up to ",i.active_pending," active submissions."]}),e.jsxs("p",{children:["New submissions are limited to ",i.subject_per_hour," per account and ",i.ip_per_hour," per source network in a rolling hour."]})]}):e.jsx("p",{children:"Loading current limits…"}),e.jsx("p",{children:"Duplicate, no-op, and idempotently replayed requests do not consume creation quota."}),e.jsx("p",{children:"Rate-limited responses use HTTP 429 with Retry-After, RateLimit, and RateLimit-Policy headers."}),e.jsx("p",{children:"Good-faith contributors who are blocked should contact the Papers with Code maintainers with their Hugging Face username."})]})};export{n as default};
 
1
+ import{b as t,j as e,aa as s}from"./index-CrYWgAoM.js";const n=()=>{const i=t(s.rateLimitPolicy()).data;return e.jsxs("div",{className:"page",style:{maxWidth:760},children:[e.jsx("h1",{children:"Submission and rate-limit policy"}),i?e.jsxs(e.Fragment,{children:[e.jsxs("p",{children:["Each account may have up to ",i.active_pending," active submissions."]}),e.jsxs("p",{children:["New submissions are limited to ",i.subject_per_hour," per account and ",i.ip_per_hour," per source network in a rolling hour."]})]}):e.jsx("p",{children:"Loading current limits…"}),e.jsx("p",{children:"Duplicate, no-op, and idempotently replayed requests do not consume creation quota."}),e.jsx("p",{children:"Rate-limited responses use HTTP 429 with Retry-After, RateLimit, and RateLimit-Policy headers."}),e.jsx("p",{children:"Good-faith contributors who are blocked should contact the Papers with Code maintainers with their Hugging Face username."})]})};export{n as default};
assets/{ResearchFollowButton-g73yztEC.js → ResearchFollowButton-BCIfaLgE.js} RENAMED
@@ -1 +1 @@
1
- import{e as j,q as g,i as b,k as F,j as e,l as N,C as y,L as i}from"./index-DL_JM2Ot.js";import{f as C,w as L}from"./researchTopic-Dwh-aCTS.js";import{P as u}from"./plus-Bou0iMb2.js";const f={task:"Get new papers on this task",method:"Get new papers using this method",benchmark:"Get new results on this benchmark",author:"Get new papers by this author",organization:"Get new papers from this organization"};function R({kind:o,entityId:n}){var w;const l=j(),c=l==null?void 0:l.user,h=g(),[m,p]=b.useState(null),d=`${o}:${n}`,r=C(),s=((w=r.data)==null?void 0:w.some(a=>a.kind===o&&String(a.entity_id)===String(n)))??!1,t=L({onChanged:({follow:a})=>p(a?d:null),awaitRefresh:!0});if(!l||!c&&F())return null;if(!c)return e.jsxs("div",{className:"research-follow",children:[e.jsxs("a",{className:"research-follow-btn",href:N(h.pathname+h.search),children:[e.jsx(u,{"aria-hidden":"true"}),"Follow"]}),e.jsxs("span",{className:"research-follow-hint",children:["Sign in to ",f[o].toLowerCase(),"."]})]});const x=t.error||r.error;return e.jsxs("div",{className:"research-follow",children:[e.jsx("button",{type:"button",className:s?"research-follow-btn is-following":"research-follow-btn",disabled:r.isLoading||!!r.error||t.isPending,"aria-pressed":s,"aria-label":s?"Unfollow":"Follow",onClick:()=>t.mutate({kind:o,entityId:n,follow:!s}),children:s?e.jsxs(e.Fragment,{children:[e.jsx(y,{"aria-hidden":"true"}),e.jsx("span",{className:"research-follow-label",children:"Following"}),e.jsx("span",{className:"research-follow-label-hover",children:"Unfollow"})]}):e.jsxs(e.Fragment,{children:[e.jsx(u,{"aria-hidden":"true"}),"Follow"]})}),x?e.jsx("span",{className:"research-follow-hint is-error",role:"alert",children:"Could not update follows. Please try again."}):s?m===d&&e.jsxs("span",{className:"research-follow-hint",role:"status",children:["Added to ",e.jsx(i,{to:"/following",children:"your Following feed"})," · ",e.jsx(i,{to:"/following?edit=1",children:"Edit feed"})]}):e.jsxs("span",{className:"research-follow-hint",children:[f[o]," in ",e.jsx(i,{to:"/following",children:"your Following feed"}),"."]})]})}export{R};
 
1
+ import{e as j,q as g,i as b,k as F,j as e,l as N,C as y,L as i}from"./index-CrYWgAoM.js";import{f as C,w as L}from"./researchTopic-BGjIaltV.js";import{P as u}from"./plus-BFsfRK33.js";const f={task:"Get new papers on this task",method:"Get new papers using this method",benchmark:"Get new results on this benchmark",author:"Get new papers by this author",organization:"Get new papers from this organization"};function R({kind:o,entityId:n}){var w;const l=j(),c=l==null?void 0:l.user,h=g(),[m,p]=b.useState(null),d=`${o}:${n}`,r=C(),s=((w=r.data)==null?void 0:w.some(a=>a.kind===o&&String(a.entity_id)===String(n)))??!1,t=L({onChanged:({follow:a})=>p(a?d:null),awaitRefresh:!0});if(!l||!c&&F())return null;if(!c)return e.jsxs("div",{className:"research-follow",children:[e.jsxs("a",{className:"research-follow-btn",href:N(h.pathname+h.search),children:[e.jsx(u,{"aria-hidden":"true"}),"Follow"]}),e.jsxs("span",{className:"research-follow-hint",children:["Sign in to ",f[o].toLowerCase(),"."]})]});const x=t.error||r.error;return e.jsxs("div",{className:"research-follow",children:[e.jsx("button",{type:"button",className:s?"research-follow-btn is-following":"research-follow-btn",disabled:r.isLoading||!!r.error||t.isPending,"aria-pressed":s,"aria-label":s?"Unfollow":"Follow",onClick:()=>t.mutate({kind:o,entityId:n,follow:!s}),children:s?e.jsxs(e.Fragment,{children:[e.jsx(y,{"aria-hidden":"true"}),e.jsx("span",{className:"research-follow-label",children:"Following"}),e.jsx("span",{className:"research-follow-label-hover",children:"Unfollow"})]}):e.jsxs(e.Fragment,{children:[e.jsx(u,{"aria-hidden":"true"}),"Follow"]})}),x?e.jsx("span",{className:"research-follow-hint is-error",role:"alert",children:"Could not update follows. Please try again."}):s?m===d&&e.jsxs("span",{className:"research-follow-hint",role:"status",children:["Added to ",e.jsx(i,{to:"/following",children:"your Following feed"})," · ",e.jsx(i,{to:"/following?edit=1",children:"Edit feed"})]}):e.jsxs("span",{className:"research-follow-hint",children:[f[o]," in ",e.jsx(i,{to:"/following",children:"your Following feed"}),"."]})]})}export{R};
assets/{SavedPapersView-NMkvSPSL.js → SavedPapersView-CoqLkNnl.js} RENAMED
@@ -1 +1 @@
1
- import{a as g,b as v,M as x,A as j,j as e,H as b,L as N}from"./index-DL_JM2Ot.js";import{P as f}from"./PaperCard-BXiZHon_.js";import{T as k}from"./SotaBadges-GpZeMWYD.js";import{S as r}from"./skeleton-CKwY1CoC.js";import{A as y,a as w}from"./alert-BAtahhuM.js";import{t as A}from"./transform-WCen521A.js";import{s as B}from"./savedPapersAuth-CCZCQuio.js";import"./AuthorAvatar-CrqIFv87.js";import"./Icon-N8z7DeBC.js";import"./LatexTitle-CgJviprz.js";import"./safeExternalHref-CkBrsh84.js";import"./colors-BkWRhvFI.js";const q=()=>{var o,l;const{user:t,isLoading:m}=g(),a=v({...x.saved(),enabled:!!t,staleTime:30*1e3}),c=a.error instanceof j&&a.error.code==="saved_papers_bucket_authorization_required",d=!!a.data&&!a.data.bucket_connected,n=()=>{window.location.assign(B())};if(m)return e.jsxs("div",{className:"page",children:[e.jsx(r,{className:"h-10 w-1/3 mb-4"}),e.jsx(r,{className:"h-6 w-1/2 mb-8"})]});if(!t)return e.jsxs("div",{className:"page",children:[e.jsx("div",{className:"feed-header",children:e.jsxs("div",{children:[e.jsxs("h1",{className:"feed-title",children:["Saved ",e.jsx("em",{children:"Papers"})]}),e.jsx("div",{className:"feed-subtitle",children:"Sign in with Hugging Face to save papers and revisit them later."})]})}),e.jsx("div",{className:"saved-signin-panel",children:e.jsx(b,{returnTo:"/saved"})})]});let h=0;return e.jsxs("div",{className:"page",children:[e.jsx("div",{className:"feed-header",children:e.jsxs("div",{children:[e.jsxs("h1",{className:"feed-title",children:["Saved ",e.jsx("em",{children:"Papers"})]}),e.jsxs("div",{className:"feed-subtitle",children:[(o=a.data)!=null&&o.count?`${a.data.count.toLocaleString()} saved · grouped by domain`:"Your bookmarked papers, grouped by domain.",(l=a.data)!=null&&l.bucket_connected?e.jsxs(e.Fragment,{children:[" · ",e.jsx("a",{href:`https://huggingface.co/buckets/${t.username}/pwc-saved-papers`,target:"_blank",rel:"noopener noreferrer",children:"Open your Hugging Face Bucket"})]}):null]})]})}),c?e.jsxs("div",{className:"saved-bucket-migration",children:[e.jsx("p",{children:"Your saved papers are still safe in Papers With Code. Approve Bucket access to copy them into a private Hugging Face Bucket that belongs to you."}),e.jsx("button",{type:"button",className:"hf-signin-btn",onClick:n,children:"Approve and migrate saved papers"})]}):a.error?e.jsx(y,{variant:"destructive",className:"mb-4",children:e.jsx(w,{children:"Failed to load your saved papers. Please try again."})}):null,d&&a.data.bucket_migrated?e.jsxs("div",{className:"saved-bucket-migration",children:[e.jsx("p",{children:"Your saved papers are already in your private Hugging Face Bucket. Reconnect it in this browser to read from it and save new papers there."}),e.jsx("button",{type:"button",className:"hf-signin-btn",onClick:n,children:"Reconnect Hugging Face Bucket"})]}):d?e.jsxs("div",{className:"saved-bucket-migration",children:[e.jsxs("p",{children:[a.data.count?`Your ${a.data.count.toLocaleString()} saved ${a.data.count===1?"paper is":"papers are"} still available below. `:"When you save your first paper, ","Approve Bucket access to copy saved papers into a private Hugging Face Bucket that belongs to you. The existing data is kept until the copy is verified."]}),e.jsx("button",{type:"button",className:"hf-signin-btn",onClick:n,children:a.data.count?"Approve and migrate saved papers":"Use a Hugging Face Bucket"})]}):null,c||a.error?null:a.isLoading?e.jsx("div",{className:"paper-list",children:Array.from({length:4}).map((i,s)=>e.jsxs("div",{className:"paper-card",children:[e.jsx(r,{className:"h-[220px] w-[160px]"}),e.jsxs("div",{className:"paper-body",style:{flex:1,gap:12},children:[e.jsx(r,{className:"h-6 w-3/4"}),e.jsx(r,{className:"h-4 w-1/2"}),e.jsx(r,{className:"h-12 w-full"})]})]},s))}):!a.data||a.data.count===0?e.jsxs("div",{className:"no-results",children:["No saved papers yet."," ",e.jsx(N,{to:"/papers",className:"sidebar-link",style:{display:"inline"},children:"Browse papers →"})]}):a.data.areas.map(i=>e.jsxs("section",{className:"saved-area-section",children:[e.jsx("h2",{className:"saved-area-heading",children:i.name}),i.tasks.map(s=>{const p=s.papers.length;return e.jsxs("div",{className:"saved-task-block",children:[e.jsxs("div",{className:"saved-task-row",children:[s.slug?e.jsx(k,{slug:s.slug,label:s.name}):e.jsx("span",{className:"tag-chip",style:{background:"var(--surface)"},children:s.name}),e.jsxs("span",{className:"saved-task-count",children:[p," ",p===1?"paper":"papers"]})]}),e.jsx("div",{className:"paper-list",children:s.papers.map(u=>e.jsx(f,{paper:A(u),priority:h++<3},u.id))})]},`task-${i.id??"other"}-${s.id??"untagged"}`)})]},`area-${i.id??"other"}`))]})};export{q as default};
 
1
+ import{a as g,b as v,M as x,A as j,j as e,H as b,L as N}from"./index-CrYWgAoM.js";import{P as f}from"./PaperCard-CrdVyQE8.js";import{T as k}from"./SotaBadges-MTukWJ8b.js";import{S as r}from"./skeleton-CR7iZvat.js";import{A as y,a as w}from"./alert-BWfaZ9GT.js";import{t as A}from"./transform-CRzM_tWE.js";import{s as B}from"./savedPapersAuth-DXDrlsqf.js";import"./AuthorAvatar-Cn_8_omA.js";import"./Icon-BrPPGkYF.js";import"./LatexTitle-TFtKXSOA.js";import"./safeExternalHref-CkBrsh84.js";import"./colors-BkWRhvFI.js";const q=()=>{var o,l;const{user:t,isLoading:m}=g(),a=v({...x.saved(),enabled:!!t,staleTime:30*1e3}),c=a.error instanceof j&&a.error.code==="saved_papers_bucket_authorization_required",d=!!a.data&&!a.data.bucket_connected,n=()=>{window.location.assign(B())};if(m)return e.jsxs("div",{className:"page",children:[e.jsx(r,{className:"h-10 w-1/3 mb-4"}),e.jsx(r,{className:"h-6 w-1/2 mb-8"})]});if(!t)return e.jsxs("div",{className:"page",children:[e.jsx("div",{className:"feed-header",children:e.jsxs("div",{children:[e.jsxs("h1",{className:"feed-title",children:["Saved ",e.jsx("em",{children:"Papers"})]}),e.jsx("div",{className:"feed-subtitle",children:"Sign in with Hugging Face to save papers and revisit them later."})]})}),e.jsx("div",{className:"saved-signin-panel",children:e.jsx(b,{returnTo:"/saved"})})]});let h=0;return e.jsxs("div",{className:"page",children:[e.jsx("div",{className:"feed-header",children:e.jsxs("div",{children:[e.jsxs("h1",{className:"feed-title",children:["Saved ",e.jsx("em",{children:"Papers"})]}),e.jsxs("div",{className:"feed-subtitle",children:[(o=a.data)!=null&&o.count?`${a.data.count.toLocaleString()} saved · grouped by domain`:"Your bookmarked papers, grouped by domain.",(l=a.data)!=null&&l.bucket_connected?e.jsxs(e.Fragment,{children:[" · ",e.jsx("a",{href:`https://huggingface.co/buckets/${t.username}/pwc-saved-papers`,target:"_blank",rel:"noopener noreferrer",children:"Open your Hugging Face Bucket"})]}):null]})]})}),c?e.jsxs("div",{className:"saved-bucket-migration",children:[e.jsx("p",{children:"Your saved papers are still safe in Papers With Code. Approve Bucket access to copy them into a private Hugging Face Bucket that belongs to you."}),e.jsx("button",{type:"button",className:"hf-signin-btn",onClick:n,children:"Approve and migrate saved papers"})]}):a.error?e.jsx(y,{variant:"destructive",className:"mb-4",children:e.jsx(w,{children:"Failed to load your saved papers. Please try again."})}):null,d&&a.data.bucket_migrated?e.jsxs("div",{className:"saved-bucket-migration",children:[e.jsx("p",{children:"Your saved papers are already in your private Hugging Face Bucket. Reconnect it in this browser to read from it and save new papers there."}),e.jsx("button",{type:"button",className:"hf-signin-btn",onClick:n,children:"Reconnect Hugging Face Bucket"})]}):d?e.jsxs("div",{className:"saved-bucket-migration",children:[e.jsxs("p",{children:[a.data.count?`Your ${a.data.count.toLocaleString()} saved ${a.data.count===1?"paper is":"papers are"} still available below. `:"When you save your first paper, ","Approve Bucket access to copy saved papers into a private Hugging Face Bucket that belongs to you. The existing data is kept until the copy is verified."]}),e.jsx("button",{type:"button",className:"hf-signin-btn",onClick:n,children:a.data.count?"Approve and migrate saved papers":"Use a Hugging Face Bucket"})]}):null,c||a.error?null:a.isLoading?e.jsx("div",{className:"paper-list",children:Array.from({length:4}).map((i,s)=>e.jsxs("div",{className:"paper-card",children:[e.jsx(r,{className:"h-[220px] w-[160px]"}),e.jsxs("div",{className:"paper-body",style:{flex:1,gap:12},children:[e.jsx(r,{className:"h-6 w-3/4"}),e.jsx(r,{className:"h-4 w-1/2"}),e.jsx(r,{className:"h-12 w-full"})]})]},s))}):!a.data||a.data.count===0?e.jsxs("div",{className:"no-results",children:["No saved papers yet."," ",e.jsx(N,{to:"/papers",className:"sidebar-link",style:{display:"inline"},children:"Browse papers →"})]}):a.data.areas.map(i=>e.jsxs("section",{className:"saved-area-section",children:[e.jsx("h2",{className:"saved-area-heading",children:i.name}),i.tasks.map(s=>{const p=s.papers.length;return e.jsxs("div",{className:"saved-task-block",children:[e.jsxs("div",{className:"saved-task-row",children:[s.slug?e.jsx(k,{slug:s.slug,label:s.name}):e.jsx("span",{className:"tag-chip",style:{background:"var(--surface)"},children:s.name}),e.jsxs("span",{className:"saved-task-count",children:[p," ",p===1?"paper":"papers"]})]}),e.jsx("div",{className:"paper-list",children:s.papers.map(u=>e.jsx(f,{paper:A(u),priority:h++<3},u.id))})]},`task-${i.id??"other"}-${s.id??"untagged"}`)})]},`area-${i.id??"other"}`))]})};export{q as default};